Godot Version
4.4.1
Question
I’m making a card game. The cards (TextureRects) in the player’s hand are children on an hbox, their movement is handled with _on_gui_input(), the tweens with _on_mouse_entered/exited() signals, and there’s some bools to keep things running smoothly. When I release a card I’m dragging while my mouse is hovering over another card, the signals only go off if that card is to the left of the card I was dragging (higher in the child order?)
I have no why this would be the case. I call it “odd” behaviour, but I guess there’s a reason I just don’t understand. Anyone know how I can make the signals consistently trigger?
Edit: On adding a print(self) statement to _on_mouse_entered(), I’ve found that cards left of the card being dragged simply don’t sense the mouse until I release the dragged card (so the cursor “appears” in the middle of the card, and the signals go off as intended), and cards to the right get the entered signal regardless. WHY that is the case, I have no clue.