How do i make a object go to position on click?
hey, im new here... and i need to know this, to make a drawer go to position on click. I already have a click detector script. here is it:
1 | function onClicked(mouse) |
7 | script.Parent.ClickDetector.MouseClick:connect(onClicked) |
but idk how i make this lol, can someone help me saying how i can make a object go to location? like vector3 or something, idk to much of these things... im not saying how to do a complete script, i just wanna know how to do the object move to location on click.