Click and hold to drag issue

So i have this object that you can click n’ hold to drag but theres an issue, it only follows the mouse when being updated. but if your idle it just falls outta your hand and its a weird glitch so heres a link Flowlab Game Creator - Physics ONLY THE HEADS DRAGGABLE

2 Likes

if you need a constant input you could hook the mouse position to the set input of number behaviors and set an always behavior to always get those numbers

2 Likes

1 Like

also you should make a second trigger for mouse up that activates wherever on the screen

2 Likes

Also, let me direct you to this:

Just like this, I suggest to use a second mouseclick block set to “click anywhere” and using its “up” output.

2 Likes

Ok alot of this helped, thanks

1 Like

Also its not a bad ragdoll example… but its not the best… +my games gonna be an actual beat 'em up game of sorts

1 Like