Click and drag stops dragging immediately

I’m making a game using the physics system where you control a ball, a bit like “balls?” by dani but the clicking and dragging feature that allows you to move the balls has suddenly ceased working, instantly stopping before i can do anything

when you click and drag you an drag it and when you release it launches the ball in the direction you dragged

When I click and drag it instead immediately cancels the drag, i’m on a laptop if that helps

This link will be up for 3 days:
https://phcode.site/p/p-48b152d8878/game/index.html

help would be much appreciated

You’ll need to post a screenshot of the relevant events for anyone to be able to help.


here you go, mb, first time posting here

The 2nd and 3rd event probably need to be their own events not subevents. As is, they’re dependent on the 1st event’s cursor is on ball So, the cursor would always have to be on the ball.

that would make sense, I’ll try it and see how it goes

yup, that fixed it, thx

1 Like