- Home /
Question by
swordklak · Oct 23, 2011 at 12:16 AM ·
androidguitexture
Android Touch
What i would like is a GuiTexture on the screen which is an image of an arrow. I would like it so when the user touches that arrow it will move a sphere or other object to the right or left. If you hold it i would like it to continue moving so it would have somewhat something to do with the update.
How would i go about doing that what method would it be its as simple as:
If Guitexture is touched
Move the sphere in the right direction
end if
im not quite sure what code i would use though
Comment
Answer by Dreamora · Oct 23, 2011 at 12:33 AM
you would use the touch.position in combination with GUITextures .HitTest
Your answer
Follow this Question
Related Questions
Detect touch on a specific GUITexture 3 Answers
GUITexture and Touch Input 1 Answer
Touch Button for 4 animation 2 Answers