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

How would I get started creating a Grab tool?

Asked by 6 years ago

I want to make a Grab Tool for my game that lets you pick up and move unlocked items. I know how to test if an object is locked or not, but could someone point me in the right direction for having the mouse move an object around in the game? Thanks!

1 answer

Log in to vote
0
Answered by
GingeyLol 338 Moderation Voter
6 years ago

http://wiki.roblox.com/index.php?title=API:Class/Mouse

http://wiki.roblox.com/index.php?title=API:Class/Mouse/Hit

https://scriptinghelpers.org/questions/2721/whats-the-difference-between-mousehit-mousetarget

https://scriptinghelpers.org/questions/31996/how-to-create-a-part-with-the-same-position-as-mousehitp

0
Thanks! The only thing I have to add is a TargetFilter, but I've got it working. Zoumagura 2 — 6y
Ad

Answer this question