mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Rename warp mouse functions to warp_mouse
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user