Version 0.3.2
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Device
love.mouse
Keeps track of the state of the mouse.
Functions
getX( )Gets the current x-position of the mouse.
getY( )Gets the current y-position of the mouse.
getPosition( )Gets the current position of the mouse.
setPosition( x, y )Sets the current position of the mouse.
isDown( button )Checks whether a certain button is down.
setVisible( visible )Controls cursor visbility.
isVisible( )Checks cursor visbility.