From 7305390fdcdfc3fa4c6e628fc1d5bb15160c7b94 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 3 Nov 2021 14:58:12 +0100 Subject: Add a method to get TileData from a cell --- doc/classes/TileMap.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index 4266a414ce..4b4a31f4b9 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -107,6 +107,16 @@ Returns the tile source 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 [TileData] object associated with the given cell, or [code]null[/code] if the cell is not a [TileSetAtlasSource]. + 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]. + + -- cgit v1.2.3