From 55a3d148f0c1fc11ff84ffc21fe06451de87d440 Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:24:12 +0200 Subject: [PATCH] Clarify `AStarGrid2D.is_in_bounds` functionality --- doc/classes/AStarGrid2D.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/AStarGrid2D.xml b/doc/classes/AStarGrid2D.xml index d64941cb9b6..276db35d83c 100644 --- a/doc/classes/AStarGrid2D.xml +++ b/doc/classes/AStarGrid2D.xml @@ -113,14 +113,14 @@ - Returns [code]true[/code] if the [param x] and [param y] is a valid grid coordinate (id). + Returns [code]true[/code] if the [param x] and [param y] is a valid grid coordinate (id), i.e. if it is inside [member region]. Equivalent to [code]region.has_point(Vector2i(x, y))[/code]. - Returns [code]true[/code] if the [param id] vector is a valid grid coordinate. + Returns [code]true[/code] if the [param id] vector is a valid grid coordinate, i.e. if it is inside [member region]. Equivalent to [code]region.has_point(id)[/code].