How to have text fields use TAB key to move focus between fields?

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

Hi all,

Been banging my head against the wall, especially because all my searches came up negative.

Question is simple :

  1. Have bunch of fields
  2. I press TAB key

Outcome : I get a tab jump in my field
Expected : I want to jump to the next available field

I remember reading about this, but cannot find it anymore. This is Godot 3.

:bust_in_silhouette: Reply From: Paintbox

Answer :
Through the discord I learned that a way to do this is to have each text field in a container

So :

  • myAwesomeTextfield
  • anotherReallyNiceTextfield

Scenetree setup

That should give the intended effect.

Answer by Profan on Discord, original answer from Reddit : Reddit - Dive into anything