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
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
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.
Try it yourself first! Don't beg for scripts. You'll never learn if you just beg for scripts and never try it yourself.