{{newin|[[0.9.0]]|090|type=function}}
Sets the current X position of the mouse.
Non-integer values are floored.
== Function ==
=== Synopsis ===
<source lang="lua">
love.mouse.setX( x )
</source>
=== Arguments ===
{{param|number|x|The new position of the mouse along the x-axis.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::love.mouse]]
* [[love.mouse.setPosition]]
* [[love.mouse.setY]]
* [[love.mouse.getX]]
[[Category:Functions]]
{{#set:Description=Sets the current X position of the mouse.}}
== Other Languages ==
{{i18n|love.mouse.setX}}