From bdf614d3d75551164fdd1eed7fb5539cafa30330 Mon Sep 17 00:00:00 2001 From: SekoiaTree Date: Tue, 25 Aug 2020 14:46:33 +0200 Subject: Made get_child support negative indexes, with documentation --- doc/classes/Node.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/classes') diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 8f66c9df38..72088e89d1 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -213,6 +213,7 @@ Returns a child node by its index (see [method get_child_count]). This method is often used for iterating all children of a node. + Negative indices access the children from the last one. To access a child node via its name, use [method get_node]. -- cgit v1.2.3