Hello everyone, i made a class called "csprite" (character sprite) it's the class of the main character of my game, who you move, but for move it i wanna put in the screen buttons (up,down,left,right) for those i use the MenuItem, 4 items with their respectives selector.
Each time you press the button the character moves 10 pixels, but, the problem is the character moves only once, and for move again you need press again the button.
How can i made, the character moves while you hold the button down??
I mean, if you press the button and hold it, the character moves until you release.