1
I would like to know how to limit the position of a character in the Y axis in the Up, Mid, Down positions. In the game the character runs while obstacles arise and dragging his finger up, if he is in the "down" position, he passes to the "Mid" position, and if he is in the "Mid" position, he can go to "up" (dragging up) or "down" (dragging down) and so on.I thank you in advance.
I suggest you ask the question, the code of your script so you can see where your difficulty was and where you have to change things. I hope I can help!
– Miguel Soeiro