-
What do you want to achieve? Keep it simple and clear!
I am using the UIDragDetector, and I want to make it so when the player clicks, (and the GUI enters drag mode) the GUI centers to the player’s mouse. -
What is the issue? Include screenshots / videos if possible!
I can’t simply manipulate the position of the GUI after the drag begins, and I can’t find any other solution. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried making a simple script where when the drag starts, the position snaps to the mouse position.
I can’t find any good property that I could manipulate to achieve my goal. If anyone has any idea/solution, please share it with me. Thank you very much!