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
Callback
mousereleased( x, y, button )
Usage
function mousereleased( x, y, button ) ... end
Arguments
xThe position of the mouse on the x-axis.
yThe position of the mouse on the y-axis.
buttonWhich button is released.
Returns
Nothing
Examples
Example 1: function mousereleased(x, y, button)
   if button == love.mouse_left then
      print("Left mouse button was released")
   end
end