sidenote: how does my other game use Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) to capture the screen when apparently that got removed in 4.x, and like that game is on 4.x. Is it just deprecated and not removed?
Click this button

Use Input.mouse_mode = Input.MOUSE_MODE_CAPTURE, it’s not removed it’s just the setter for a property that you don’t need to call directly