I’m working on a game, in which I have a character that I want to move in the x axis when the screen is touched. I’ve managed to this however I want the object to continue to move for as long as the screen is being touched and not just move once. How can I do this?
Share
You can use an touch listener on the Runtime object:
or create an invisible button that covers the whole screen.