Proper way to disable controller movement?

I’d like to disable mouse rotation as well as character movement (WASD) when a player is in a UI, what’s the proper way to handle this?

Hey

you can simply disconnect the controllers:
https://doc.babylonjs.com/how_to/customizing_camera_inputs#removing-inputs