GUI Tab Order for Input Controls

I’d presume that tabbing between input controls would be supported by default in the UI controls, but it seems not to be the case. Am I wrong? If it’s not there, has anyone come up with a simple method of implementing it? I can’t seem to implement it either via the keyboard events for the parent container (since it doesn’t receive keyboard events executed within the child input controls), nor via keyboard events of the input controls (since that seems to stomp upon the default events for those controls).

cc @DarraghBurke who loves the gui :slight_smile:

pinging @DarraghBurke again in case he didn’t see it :smile: We might end up looking more into tab controls as part of accessibility but we haven’t decided anything yet :slight_smile:

Here is a simple demonstration of tab to focus the next input: Simple GUI in fullscreen mode | Babylon.js Playground (

You can simply find the index of the control in it’s parent’s children array and then focus the next control in that array