Change cursor when dragging

Godot Version

4+

Question

Hi everyone!

I beg you for help, gentlemens. The cursor does not want to change graphically when the dragged element gets to the GUI TextureButton panel.
Found Input.CURSOR_SHAPE_DRAG and Control.CURSOR_SHAPE_DRAG. To change Input, I only need set_default_cursor_shape/custom_cursor_shape, but how do I change Control.cursor_shape? And how do you deal with this?

For example i filmed video:

I would be grateful for any help! Thank you!

If you are using the drag and drop system built-in in Godot then the cursor that it uses when it can drop is Input.CURSOR_CAN_DROP

1 Like

:person_facepalming: im retard… For some reason I started looking for a complex solution instead of trying a simple one…

Thank you that works! You saved my life! ;D

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.