love.mouse.getY( )
Gets the current y-position of the mouse.
Usage
love.mouse.getY( )
Arguments
None
Returns
numberCurrent y-position.
Examples
Example 1: Getting the position of the mouse.
function draw()
local x = love.mouse.getX()
local y = love.mouse.getY()
love.graphics.draw("Mouse is at: (" .. x .. "," .. y .. ")", 100, 100)
end