On Focus or Click a Textbox - Event - How to?

Is there a way to determine if a textbox has been clicked or has been focused?

Bump. Would definitely like to know.

Ah just after bumping this I found out how to do it. In a tick event, check if the text box has keyboard focus. If true do your thing if not… do your other thing.

1 Like

But if I don’t want to use in Event tick, how can I do?

This is seemingly still the only solution without modifying engine code.

1 Like

Got it, thanks!

A really old topic, but I found my own way without the tick event.


overwrite this preview click function first.

then check the textbox focus with a little bit of delay.

hope someone found it helpful someday.