I'm trying to determine which node is receiving the focus in my scene. The Control
s in my scene can be transversed with the keyboard arrows, as well as the cross directional pad on a controller. The thing is, I'm trying to narrow the focus to a handful of Controls ("play" button and "delete" button). So when the left or right arrows keys are pressed, buttons in my scene lose focus, yet I don't know where the focus is going.
I have tried messing around with the focus_mode
property of several Control
nodes. But that didn't change anything. I have also tried setting up the focus for the nearest neighbors, but that does nothing. The scene, BTW, adds entries to a ScrollContainer
at runtime.