Some clarifications on screen-space coordinates

This commit is contained in:
kobewi 2023-05-01 13:50:34 +02:00
parent 9f12e7b52d
commit 33b9be27d3
3 changed files with 3 additions and 1 deletions

View file

@ -423,6 +423,7 @@
<return type="Vector2" />
<description>
Returns the mouse's position in the [CanvasLayer] that this [CanvasItem] is in using the coordinate system of the [CanvasLayer].
[b]Note:[/b] For screen-space coordinates (e.g. when using a non-embedded [Popup]), you can use [method DisplayServer.mouse_get_position].
</description>
</method>
<method name="get_global_transform" qualifiers="const">