Hello, I'm trying to make UI for my game and making a button that changes its own focus neighbour when pressed:
$SettingsButton.focus_neighbour_left = $ItemGrid/Slot2
But when I press the button, it gives this error:
Invalid set index 'focus_neighbour_left' (on base: 'TextureButton') with value of type 'TextureButton'.
I tried searching but I don't understand what this error is telling me or how to fix it.