Is there a way to set focus mode to only keys on control nodes ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By nayala

Hi !

Is there a way to set focus mode to only keys on control nodes ?
There are only three options for Enabled Focus Mode on control nodes and none of them let you set focus with keys while disabling focus with clicks.

I want to be able to select buttons or text fields within menus with keys and disable setting focus with clicks for buttons. (I don’t know if I’m clear enough)
Beause I only want to set the focus StyleBoxTexture for buttons with keys (and not with clicks).

This issue was tracked in Allow displaying a Control's focus stylebox only on keyboard/gamepad focus, not mouse focus · Issue #2011 · godotengine/godot-proposals · GitHub
No fix still. Comment here because it’s the 1st result of a google search. The github issue is the 6th.

MintSoda | 2022-03-20 10:14