From d7f51dd2ec60f5c237e471b65e890c11f172b24b Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 24 Jan 2022 13:59:24 +0100 Subject: Better clarify map_to_world() description --- doc/classes/TileMap.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/classes') 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 @@ - 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. -- cgit v1.2.3