Is there a way to focus on a specific element of babylon.gui without clicking it? I’ve searched high and low for some type of inputText.focus() function to call on a keypress but am lost
As an example, to type into the input box in this PG, we must click the box. Is there a call implemented for focusing upon keypress instead of clicking the box?
@Deltakosh thank you for the speedy reply! I’ve found the focusedControl(), can I pass in the name of the inputText? (Not at dev machine currently on mobile)
Currently the name for input text in project is
inputText.name = “chatInput”
Or something along those lines,
So should I use
Adt.focusedControl = “chatInput” or, should I just call it as