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

How would i go on to making a drag system like booga booga?

Asked by 4 years ago

I am making a survival game and i am adding in a feature where you can drag your items and objects around, i need some help on how i would go on doing that.

Heres an example:

https://gyazo.com/48f792ae743ecbd10e764c027234a8be

Thx

0
Here's one way. You can use InputBegan to set a variable for example 'var' to true. While 'var' is true, the target of the mouse, if the locked property is false, can be teleported to your mouse.hit (with a cap of like 20 studs away from character). InputEnded and it was the mouse that ended, var would now equal false. mudathir2007 157 — 4y
0
Try it yourself first! Don't beg for scripts. You'll never learn if you just beg for scripts and never try it yourself. Xapelize 2658 — 4y

Answer this question