Im trying to make a sprite move by holding a button and then making the object stop when I let go. Is there a way that I can achieve this??? Because I have been trying and I can't seem to figure it out.
Use the TouchDown event to start the movement and the TouchUp event to stop it
http://ai2.appinventor.mit.edu/reference/components/userinterface.html#Button
TouchDown()
Indicates that theButton
was pressed down.
TouchUp()
Indicates that theButton
has been released.
Taifun
1 Like
Here's a movement tutorial: