Difference between revisions of "love.mouse.setGrab"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Grabs the mouse and confines it to the window.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.mouse]]
 
* [[parent::love.mouse]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Grabs the mouse and confines it to the window.}}

Revision as of 16:17, 14 February 2010

Grabs the mouse and confines it to the window.

Function

Synopsis

love.mouse.setGrab( grab )

Arguments

boolean grab
True to confine the mouse, false to let it leave the window.

Returns

Nothing.

See Also