Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Function
love.mouse.setPosition( x, y )
Sets the current position of the mouse.
Synopsis
love.mouse.setPosition( x, y )
Parameters
x
number
The new position of the mouse along the x-axis.
y
number
The new position of the mouse along the y-axis.
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question