Drag up and down to move up and down

saad1993saad1993 Member, BASIC Posts: 47

Hello, a little help here.

So I've constrained my player's X position and am making it follow the mouse cursor on screen to move up and down only. However, the problem is that because I'm using the Move To behavior, it moves up and down rather slowly. If my cursor is on the right end of the screen and my player is on the left, and I move the cursor up and down, the player moves up and down at a very slow pace.

I want to be able to move the player up and down eventually by dragging a single touch up and down on screen. or example, if the player is on the left end and I begin my touch drag input on the right, I want the player to follow the UP and DOWN movements at a fast pace.

Thanks for the help in advance!

Comments

Sign In or Register to comment.