Trololarion Posted August 26, 2019 Share Posted August 26, 2019 I try to check the keystroke, but when I press the desired key on the text field, it works, IsPaused () determines only the pause, but not the presence of the text field. Link to comment https://forums.kleientertainment.com/forums/topic/111020-how-to-check-if-text-fields-are-open/ Share on other sites More sharing options...
Trololarion Posted August 27, 2019 Author Share Posted August 27, 2019 (edited) Okay i understand how do this. local function IsHUDScreen() local screen=GLOBAL.TheFrontEnd:GetActiveScreen() return screen and screen.name and type(screen.name) == "string" and screen.name == "HUD" end Edited August 27, 2019 by Trololarion Link to comment https://forums.kleientertainment.com/forums/topic/111020-how-to-check-if-text-fields-are-open/#findComment-1250819 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now