Character won't stand still on mobile

I’m trying to create a mobile game but when I use the debugger to open the game on my android browser, the character isn’t standing still and I don’t know how to him to stop. (First time doing mobile controls)

The problem will be that when you touch the screen, the cursor moves. Once you take it off, it stays where you last touched it. Fix it by adding this to the start of your scene events :

image

The issue is still happening for some reason.

Which way is the character moving, and what events do you have now?

He’s only moving left I can move him right but the second I let go he keeps going left.
These are the only events I have in the room.

Could you do a little debug type check? Can you change the background colour for the left cursor touch to “255;0;0”?

Then when you run the game, don’t touch any of the buttons. Does the background change to red and the Bryan object move to the left?

Thanks but it’s working now. I think something was wrong with the project I was using so I started over and it’s fine now. Thanks for the help.