How modify Drag distance? (reduce it under 10 pixels)

Godot Version

4.5

Question

I am using the Godot implemented drag methods _get_drag_data(), _can_drag_data() and _drag_data() .
How can i modify the 10 pixels distance required to start a drag?
I would like 2 or 3 pixels at most.

It’s not possible, it’s hardcoded

But you can force a drag with Control.force_drag() instead.

2 Likes

Thanks, i think i will just create a drag&drop system myself then. I can force drag, but if the player switch Keyboard for Gamepad.. then everything becomes messy and unreliable