This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+2 votes

I have a column based UI, where you select an option in the first column, and then the second column opens up to reveal more options.

What I found, is that even when the first column of buttons is disabled, I can still use the arrow keys to "hover," over them. Is there any way to disable this?

in Engine by (54 points)

1 Answer

+4 votes
Best answer

Select your button, then navigate to Control > Focus in the Inspector and set "Mode" to "None". You can also set this property from code using:

get_node("Button").focus_mode = FOCUS_NONE
by (10,634 points)
selected by

make sure to set focus_mode and not focus_mode_enabled as the latter is deprecated and doesn't actually work properly

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.