set mouse position

Hi

I wanna that my mouse don’t go out of the window.
My question is: How can I set the mouse cursor position?

Thanks.

realm_1

Check the documentation first :
http://unity3d.com/support/documentation/ScriptReference/Screen-lockCursor.html

Hi

Very interessting. Thanks.

realm_1