diff options
author | kobewi <kobewi4e@gmail.com> | 2022-01-24 13:59:24 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-01-24 14:13:40 +0100 |
commit | d7f51dd2ec60f5c237e471b65e890c11f172b24b (patch) | |
tree | c25b0b5442b3075960a56bbf64ec1d5915488164 /doc/classes | |
parent | 6a3ff8fa1f2cbad5752cf039827206ac265f68f6 (diff) |
Better clarify map_to_world() description
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TileMap.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index e37031f3fd..07b9543823 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -202,7 +202,8 @@ <return type="Vector2" /> <argument index="0" name="map_position" type="Vector2i" /> <description> - Returns the local position corresponding to the given tilemap (grid-based) coordinates. + Returns a local position of the center of the cell at the given tilemap (grid-based) coordinates. + [b]Note:[/b] This doesn't correspond to the visual position of the tile, i.e. it ignores the [member TileData.texture_offset] property of individual tiles. </description> </method> <method name="move_layer"> |