I was doing small adjustments to my game, when I realize the movement of my actor is weird.
All I want for him to be able to do is when you tap screen, he moves either up or down. For example, he's on the ground, you tap screen, he goes up (and stays there), then you tap screen again, he goes down (and stays there), and so on. I thought I did it properly, but in the preview, if I double click, or just click a lot, he ends up moving either a bit more up, or a bit more down than the max I'd want him to go to. Is it the preview acting up, or maybe I just did it wrong?
If you can help, how do I properly just make my character go either up or down when you tap screen (I'm making him dodge obstacles going his way)?