Problem description: How can I do that if players click on input while input is located on main map mouse click would read it. Example: Once I click on input the chat window would appear or other proc/vars I would like to change would change. |
Apr 19 2016, 2:19 am
Best response
|
|
There's no detection event for when an element gains focus, the best you can do is either manually control focus and handle things when focus is shifted in the code, or have a loop running that's always doing a winget() for the focus of that input, which could end up getting pretty costly on the resource side of things if you check too often.
|