love.mouse
Provides an interface to the user's mouse.
Contents
Functions
love.mouse.getPosition | Returns the current position of the mouse. |
love.mouse.getX | Returns the current x-position of the mouse. |
love.mouse.getY | Returns the current y-position of the mouse. |
love.mouse.isDown | Checks whether a certain button is down. |
love.mouse.isGrabbed | Checks if the mouse is grabbed. |
love.mouse.isVisible | Checks if the cursor is visible. |
love.mouse.setGrab | Grabs the mouse and confines it to the window. |
love.mouse.setPosition | Sets the current position of the mouse. |
love.mouse.setVisible | Sets the current visibility of the cursor. |
Enums
MouseConstant | Mouse buttons. |
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info