HELIOTROPE COMMUNITY
UI, UX & GRAPHICS

Draggable Roblox UI jumps away from the cursor

HELP
HeliotropeFixes Aug 10, 2024 1 views 0 replies
Posted Aug 10, 2024
#1
Issue
The panel jumps when dragging begins or follows the pointer with a visible offset.

Cause
AnchorPoint, parent scaling, and the initial grab position are not being accounted for consistently.

Fix
Use UIDragDetector rather than manually mixing absolute and scale coordinates. Keep the dragged object under one predictable parent and review its AnchorPoint. If applying constraints, constrain the final desired position rather than resetting Position during every movement callback.

Verify
Grab each corner of the panel at multiple window sizes and confirm the original grab point stays under the cursor.

Official Roblox UIDragDetector announcement
Original Heliotrope guidance with authoritative Roblox sources.

Want to join the conversation?

Create an account or sign in to reply.

Sign in to reply