Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you simulate a drag function in a player mouse?

Asked by 6 years ago

I know that you will most likely have to use Button1Down and Button1Up but can someone explain it in a way that makes sense, because mousebutton1Down doesn't work too well, it isn't when a player is pressing the button for more than one second.

0
What exactly are you trying to do, drag and drop GUIs? Valenthian 130 — 6y
0
no, I'm not using a GUI, I'm using a Player Mouse.. Unbunn_makes 48 — 6y
0
I'd imagine most drag things would start when the mouse moves a certain number of pixels away from the point at which the button 1 was pressed (if you're talking about how to distinguish a drag from a click). mattscy 3725 — 6y

Answer this question