Version 0.1.1a
LÖVE Documentation
OverviewLicenceCreditsGetting started
Devices
love.objectslove.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timer
Types
ColorFontImageMusicSound
Callbacks
loadupdaterendermousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig files
Function
mousereleased( x, y, button )
Usage
mousereleased( x, y, button )
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