Input.Set_Mouse_Mode was removed in 4.0?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By HalfAsleepSam

I’m attempting to make player script however, when I attempt to confine the player’s mouse the script’s intellisense says that Input.set_mouse_mode is no longer a thing and I can’t find an equivalent for 4.0. So, what is the new version of the function?

:bust_in_silhouette: Reply From: HalfAsleepSam

I was an idiot
It was changed to Input.mouse_mode

1 Like

I know you already solved it, but for other developers who don’t know how to solve this, here is the solution:



omg im an idiot``