I would like to know how to limit the position of a character on the Y axis in the Up, Mid, Down positions. In the game the character runs while obstacles appear and dragging the finger up, if it is in the "down" position, it moves to the "Mid" position, and if it is in the "Mid", it can go to "up" (dragging to up) or "down" (dragging down) and so on.From already thank you.