How can I make a dragging part script where it moves a part onto the surface of another part?

I’m trying to create a dragging tool, similar to the old hopperbin gametool. I just can not figure out how to make sure a part is not clipping inside of another part, and make sure it can easily snap onto the surface of a part. Here is an example of what I’m trying to accomplish. QnF1F4XOgY

1 Like

One way is to use the default Dragger which mimics the old game tools which you seem to want like below:

But otherwise for the specific question for clipping into the part this should help:

1 Like

Thanks for the help! I’ll look into it.