Skip to content

Commit

Permalink
[3.x] Fix NodePath subname index range documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AThousandShips committed Mar 26, 2023
1 parent b0c399e commit ff61fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/NodePath.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<return type="String" />
<argument index="0" name="idx" type="int" />
<description>
Gets the resource or property name indicated by [code]idx[/code] (0 to [method get_subname_count]).
Gets the resource or property name indicated by [code]idx[/code] (0 to [method get_subname_count] - 1).
[codeblock]
var node_path = NodePath("Path2D/PathFollow2D/Sprite:texture:load_path")
print(node_path.get_subname(0)) # texture
Expand Down

0 comments on commit ff61fea

Please sign in to comment.