summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-22 14:52:45 +0100
committerGitHub <noreply@github.com>2021-11-22 14:52:45 +0100
commit29a2561f77c2004433955a8578301cf49401fdd5 (patch)
tree4a9393a1bd4cd43ac72ba84f1434d1b651de85ed /doc/classes
parent4e7964f0fdfbb6d1e9a8eeffd9afa1ebbc4695da (diff)
parent4ea6709558ae715df45b4b5137f4ae554922cad4 (diff)
Merge pull request #55217 from KoBeWi/get_property_and_property
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Object.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml
index df9da7561e..860e252805 100644
--- a/doc/classes/Object.xml
+++ b/doc/classes/Object.xml
@@ -350,6 +350,7 @@
<argument index="0" name="property" type="NodePath" />
<description>
Gets the object's property indexed by the given [NodePath]. The node path should be relative to the current object and can use the colon character ([code]:[/code]) to access nested properties. Examples: [code]"position:x"[/code] or [code]"material:next_pass:blend_mode"[/code].
+ [b]Note:[/b] Even though the method takes [NodePath] argument, it doesn't support actual paths to [Node]s in the scene tree, only colon-separated sub-property paths. For the purpose of nodes, use [method Node.get_node_and_resource] instead.
</description>
</method>
<method name="get_instance_id" qualifiers="const">