How do I put a cursor in a text box on start of layout?
If you mean a Text Input Box that is 'Set focused'.
I did try that on start of layout, but it only works if done as "every tick". That would be fine, if I had one instance of the text box, but I don't.
If you click somewhere or use another html-element you will lose the focus, then you have to use every tick if you only want the focus on that text box. Otherwise you could make an event and set the focus only when you need this text box.
Develop games in your browser. Powerful, performant & highly capable.
Thanks,that worked :)
Any code examples, I'm trying to do the same thing, but I've been unsuccessful.