love.mouse.setGrab

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