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. | + | 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= | + | {{#set:Description=Sets the current Y position of the mouse.}} |
− | |||
== 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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info