summaryrefslogtreecommitdiffstats
path: root/doc/classes/NodePath.xml
diff options
context:
space:
mode:
authorNinni Pipping <over999ships@gmail.com>2023-03-26 09:54:37 +0200
committerNinni Pipping <over999ships@gmail.com>2023-03-26 09:54:37 +0200
commitc75870f79816ea9185aa3ceb3bcfb54fa0344a8a (patch)
treea63cbb3f1b2684336d75d7bba14ace4df0961aca /doc/classes/NodePath.xml
parent6ef2f358c741c993b5cdc9680489e2c4f5da25cc (diff)
downloadredot-engine-c75870f79816ea9185aa3ceb3bcfb54fa0344a8a.tar.gz
Fix `NodePath` subname index range documentation
Diffstat (limited to 'doc/classes/NodePath.xml')
-rw-r--r--doc/classes/NodePath.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml
index 5881d5de34..ee34a0c405 100644
--- a/doc/classes/NodePath.xml
+++ b/doc/classes/NodePath.xml
@@ -141,7 +141,7 @@
<return type="StringName" />
<param index="0" name="idx" type="int" />
<description>
- Gets the resource or property name indicated by [param idx] (0 to [method get_subname_count]).
+ Gets the resource or property name indicated by [param idx] (0 to [method get_subname_count] - 1).
[codeblocks]
[gdscript]
var node_path = NodePath("Path2D/PathFollow2D/Sprite2D:texture:load_path")