Lock mouse to center of screen for custom camera control?

Wheres the mouse options for this? I want to create my own FPS camera controlls and my mouse isn’t wanting to stay in the center of screen so my rotations stop at the edge of the screen…

Take a look at FlyByCamera to see how it does it.

1 Like

Thats why I asked here… I don’t see disableMouse, mouseVisisble(false) or antyhing of that sort I figured it was in another package that I can’t seem to find it in.

Ahhhhh wait here it is… inputManager.setCursorVisible(true);

Just needed to look again