Merge pull request #57568 from TechnicalSoup/TechnicalSoup-patch-1

Expand description for warp_mouse_position method
This commit is contained in:
Max Hilbrunner 2022-02-03 09:51:09 +01:00 committed by GitHub
commit 98d8c9acd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -383,7 +383,8 @@
<return type="void" />
<argument index="0" name="to" type="Vector2" />
<description>
Sets the mouse position to the specified vector.
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.
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>
</methods>