Maybe if you add invisible pause button to world UI, and use something like this? Code: let button = this.ui().find('Pause_Btn')[0];