diff --git a/src/platforms/rcore_ios.c b/src/platforms/rcore_ios.c index 206d6bc5c379..73d1efd20936 100644 --- a/src/platforms/rcore_ios.c +++ b/src/platforms/rcore_ios.c @@ -727,6 +727,9 @@ static void send_gesture_event(NSSet * touches, int action) } } + if (CORE.Input.Touch.pointCount > 0) CORE.Input.Touch.currentTouchState[MOUSE_BUTTON_LEFT] = 1; + else CORE.Input.Touch.currentTouchState[MOUSE_BUTTON_LEFT] = 0; + if(action == TOUCH_ACTION_MOVE){ CORE.Input.Mouse.previousPosition = CORE.Input.Mouse.currentPosition; }else{