[HELP] how to manually trigger `_can_drop_data` on a control node?

Godot Version

4.5

Question

How do I make Godot verify AGAIN if the control node my drag_data is on top of is valid or not?

It’s a function. Just call it with the appropriate parameters.

_can_drop_data(position, data)

But you have to implement it too.

I should make myself more clear.

How do I make Godot verify AGAIN if the control node my drag_data is on top of is valid or not?

I made a RE4 style inventory, but whenever the item I’m dragging is rotated, Godot still thinks it’s a invalid item slot, because the _can_drop_data is not triggered until the next user InputEvent.

So, is there a way to manually trigger the logic that makes Godot accept, or not, my drag action?