Difference between revisions of "love.mouse.setY"

(Created page)
 
Line 1: Line 1:
 +
{{newin|[[0.8.1]]|081|type=function}}
 
Sets the current Y position of the mouse.
 
Sets the current Y position of the mouse.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.mouse.setPosition( y )
+
love.mouse.setY( y )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
Line 12: Line 13:
 
* [[parent::love.mouse]]
 
* [[parent::love.mouse]]
 
* [[love.mouse.setPosition]]
 
* [[love.mouse.setPosition]]
 +
* [[love.mouse.setX]]
 
* [[love.mouse.getY]]
 
* [[love.mouse.getY]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the current Y position of the mouse.}}
+
{{#set:Description=Sets the current Y position of the mouse.}}
{{#set:Since=081}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.mouse.setY}}
 
{{i18n|love.mouse.setY}}

Revision as of 13:45, 5 June 2012

Available since LÖVE 0.8.1
This function is not supported in earlier versions.

Sets the current Y position of the mouse.

Function

Synopsis

love.mouse.setY( y )

Arguments

number y
The new position of the mouse along the y-axis.

Returns

Nothing.

See Also

Other Languages