Rename warp mouse functions to warp_mouse

This commit is contained in:
Markus Sauermann
2022-03-27 11:17:36 +02:00
parent f0407ad14d
commit 0494e024d8
20 changed files with 49 additions and 49 deletions

View File

@@ -379,11 +379,11 @@
[b]Note:[/b] It needs [code]VIBRATE[/code] permission for Android at export settings. iOS does not support duration.
</description>
</method>
<method name="warp_mouse_position">
<method name="warp_mouse">
<return type="void" />
<argument index="0" name="to" type="Vector2" />
<argument index="0" name="position" type="Vector2" />
<description>
Sets the mouse position to the specified vector, provided in pixels and relative to an origin at the upper left corner of the game window.
Sets the mouse position to the specified vector, provided in pixels and relative to an origin at the upper left corner of the currently focused Window Manager game window.
Mouse position is clipped to the limits of the screen resolution, or to the limits of the game window if [enum MouseMode] is set to [code]MOUSE_MODE_CONFINED[/code] or [code]MOUSE_MODE_CONFINED_HIDDEN[/code].
</description>
</method>