- Home /
Mobile controls, gui mouse problem.
Ive got a control bar, it has 2 sprites on the left side (for movement) which respond to touch,
three gui buttons in the center of the bar (spells/ablities) which respond to the mouse,
and two sprites at the right side of the screen (jump and inventory) which respond to touch.
I didn't figure out that in case of more then one touch the mouse position will be between the touchs, and now when I attempt to use the left side buttons and the right side buttons together a mouse position is detected at the center of the screen pressing the abilities buttons...
Is there a way to detect the gui only by touch? or a way to make the mouse position focus only on one touch?
Consider that I might also want to use the spells/abilities gui buttons with the movement / jumping sprite buttons...
Many thanks for anyone who helps!
Your answer
Follow this Question
Related Questions
Scroll View scrolls much fast when dragging with touch 0 Answers
4.6 UI Image follow mouse position? 4 Answers
UI Slider - making the touch area for slide larger than the UI image handle 2 Answers
Capturing Mouse Position w/o Polling Every Update? 3 Answers
Adding Touch Controls to Car Game 1 Answer