setFocus()

Hi everyone.

I need some easy help. I’m creating a login scene. I want just as the scene enters one InputBox gets Focus.
I want to set focus to the input field ‘txtUser’.
I can do this with the ‘txtUser.setFocus’… but this way the focus is “invisible”. The text is not getting focus, neither does appear the cursor inside the input.

Is there any way to do this?

Thanks