summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChris Bradfield <cb@scribe.net>2019-02-12 21:02:59 -0800
committerGitHub <noreply@github.com>2019-02-12 21:02:59 -0800
commita18ceb6a302b23094136adfc9591121f8b49a8cf (patch)
treecad5fbae8c4964f641f093f2dd4314ee013efe53 /doc
parent35963eb052f35e720fb60119561e21a4f56f185a (diff)
parentee77cba83e4a8a037358e882bac81d80b1596283 (diff)
Merge pull request #25847 from MidZik/master
Docs: Clarified TileMap get_cell method behavior.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/TileMap.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml
index 4849d768f5..fe3b2118a3 100644
--- a/doc/classes/TileMap.xml
+++ b/doc/classes/TileMap.xml
@@ -34,7 +34,7 @@
<argument index="1" name="y" type="int">
</argument>
<description>
- Returns the tile index of the given cell.
+ Returns the tile index of the given cell. If no tile exists in the cell, returns [constant INVALID_CELL].
</description>
</method>
<method name="get_cell_autotile_coord" qualifiers="const">
@@ -53,7 +53,7 @@
<argument index="0" name="position" type="Vector2">
</argument>
<description>
- Returns the tile index of the cell given by a Vector2.
+ Returns the tile index of the cell given by a Vector2. If no tile exists in the cell, returns [constant INVALID_CELL].
</description>
</method>
<method name="get_collision_layer_bit" qualifiers="const">