How to make screen drag

click down to grab screen help

@ManiacPumpkin has an example for this


just use a click drag code but use some math to find the offset from current mouse pos and mouse pos when first clicked

Here is an example I conjured up a bit ago.

I still need to update the level layouts, but it works pretty well.


why does it flash like the one I made? Except when you use two fingers it works well

1 Like

Because when you drag off the game, it doesn’t see that you let go of the screen, and re-centers to where you tapped it. When you use 2 fingers, it sees one of them let go of the screen on the game. It will still happen if you drag both fingers off the game.