Set mouse position available?

BerfandilBerfandil Posts: 35Member
edited December 1969 in 3D
Hey all!<br /><br />Is there any way to set the position of the mouse cursor in GDScript?<br /><br />(I'd like to make a basic first person script. I want to make the camera look where I move the mouse cursor. I would count the direction of the cursor's movement compared to the center of the window, then reset the cursor's position to the middle at every frame.)<br /><br />Thanks!


Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file