summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2022-02-03 09:51:09 +0100
committerGitHub <noreply@github.com>2022-02-03 09:51:09 +0100
commit98d8c9acd7ff234c23cb0902e8f7fb7278abddd5 (patch)
tree86c1d03907d92d06a9b7673ef6d6183ada0ec967
parent6de5bafd2fa7513cf78377b61c2606327b293d44 (diff)
parent3dc1fad2623b01bd8c8e5a83dfe198a8a2b0394e (diff)
Merge pull request #57568 from TechnicalSoup/TechnicalSoup-patch-1
Expand description for warp_mouse_position method
-rw-r--r--doc/classes/Input.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml
index 423e58f5c6..60f8925ab3 100644
--- a/doc/classes/Input.xml
+++ b/doc/classes/Input.xml
@@ -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>