love.mousereleased
Callback function triggered when a mouse button is released. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis love.mousereleased( x, y, button, istouch ) Arguments number x Mouse x position, in pixels. number y Mouse y position, in pixels. number button The button index that was released. 1 is the primary mouse button, 2 is the secondary mouse button and 3 is the middle button. Further buttons are mouse dependent. boolea