Node paths - find any node in your Godot scene (Beginners)

Published: 23 August 2023
on channel: Godotneers
34,868
2.2k

Hello Godotneers! One of the most asked questions in the Godot discord is: "How can I change a property of another node through a script?". Accessing other nodes is a fundamental technique needed in every Godot game. In this video we'll explore how you can access any node anywhere in your scene no matter where it is located in the tree. And we'll check out a seriously awesome technique to make this even easier and more robust.

Chapters
--------------------

00:00 Introduction
00:36 Finding nodes below the current one
04:57 Finding nodes above the current one
07:01 Finding sibling nodes
07:50 Accessing the current node
08:45 A better way to do all this
11:02 Conclusion

Useful links
---------------------

NodePath reference page: https://docs.godotengine.org/en/stabl...


Watch video Node paths - find any node in your Godot scene (Beginners) online without registration, duration hours minute second in high quality. This video was added by user Godotneers 23 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 34,868 once and liked it 2.2 thousand people.