Stop scene taking keyboard inputs

Hi,

I have a rexEditText box in my UIScene that i want users to be able to type in when they select it. However my gameScene has some keys bound and I can’t figure out how to get them to stop stealing the input. I have tried gameScene.input.enabled = false and pausing the whole gameScene, but the textEdit box still can’t type those keys (all others work as expected). Any suggestions?

Much appreciated!

Thanks, Gordon

Hey Gordon,

I think it’s hard to follow the problem without seeing the code. But you could set a global variable, for example disableControls and whenever the textbox is selected you set this variable to true. So in your other input listeners you can check if disableControls is false and if not, prevent any action there by returning early.

Best regards
Nick