# Stop scene taking keyboard inputs

**URL:** <https://phaser.discourse.group/t/stop-scene-taking-keyboard-inputs/10075>\
**Category:** Phaser 3\
**Created:** [August 7, 2021, 6:29am UTC](https://phaser.discourse.group/t/stop-scene-taking-keyboard-inputs/10075 "2021-08-07T06:29:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghclark2](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@ghclark2](https://phaser.discourse.group/u/ghclark2)\
**Post date:** [August 7, 2021, 6:29am UTC](https://phaser.discourse.group/t/stop-scene-taking-keyboard-inputs/10075/1 "2021-08-07T06:29:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![NickHatBoecker](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/nickhatboecker/32/5380_2.png) [@NickHatBoecker](https://phaser.discourse.group/u/NickHatBoecker)\
**Post date:** [August 7, 2021, 8:09pm UTC](https://phaser.discourse.group/t/stop-scene-taking-keyboard-inputs/10075/2 "2021-08-07T20:09:31Z")

</div>

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
