From 2e5599892f2ea0e0aa3eb04199cd972ba83dc4c4 Mon Sep 17 00:00:00 2001 From: BlueberryGecko Date: Mon, 4 Mar 2024 15:02:47 +0100 Subject: [PATCH] Class reference: Improve TileMap get_cell_atlas_coords documentation --- doc/classes/TileMap.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index b8e060c75c9..fc19e1de496 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -99,7 +99,8 @@ - Returns the tile atlas coordinates ID of the cell on layer [param layer] at coordinates [param coords]. If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy]. + Returns the tile atlas coordinates ID of the cell on layer [param layer] at coordinates [param coords]. Returns [code]Vector2i(-1, -1)[/code] if the cell does not exist. + If [param use_proxies] is [code]false[/code], ignores the [TileSet]'s tile proxies, returning the raw alternative identifier. See [method TileSet.map_tile_proxy]. If [param layer] is negative, the layers are accessed from the last one.