DragDetector alternative?

Hello everyone,

I’m using DragDetectors for something, and I need them to work in game and not just in studio. Are there any alternatives for dragging models across the XZ axis?

If anyone knows of any modules or ways to do this, any help is appreciated. Thanks!

4 Likes

Hello! There are many possible ways to do this, what I would recommend is to use a ClickDetector for detecting when the dragging has started and update the position of the object to the one of the mouse. You can also check this post for something similar: https://devforum.roblox.com/t/dragged-mouse-path-detection/1651420

5 Likes

Instead in DragDectectors i recommend using raycasting and UserInputService :slight_smile:

3 Likes

Is there a way to be able to rotate the model that you’re dragging, whether it be with the mouse or a key?

Yes UserInputService is perfect for rotation so when a player presses for example the R key it rotates the model :slight_smile: