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

preview_player
Показать описание
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
---------------------

Рекомендации по теме
Комментарии
Автор

We have thousands of videos on how to make the same platform and rpg games but so little on topics like this.
Your topic is explained thoroughly without being boring and you've no distracting music in the BG.
Al fantastic stuff, thank you!

historish
Автор

Another good video idea on a related topic would be signals, and good practices on accessing other nodes ("call down, signal up")

zedmanul
Автор

please continue do what you do. I have watched many tutorials, they always taught you how to achieve the goal but never explain why certain function or method is used and what are the alternatives. this is the kind of video we beginner needs to actaully understand why each line is wrote! Thank you very much!

felix
Автор

Great tutorial on a very important subject that I have not seen covered well elsewhere. I also like the in-depth but no-nonsense approach. Bravo!!!

larrylevandowski
Автор

Watchin other tutorials; I was generally confused about this node-path subject. You clarified it perfectly! Thank you.

lordsilica
Автор

I have to say but you are one of the best Godot teachers! More of these please.

sakari.niittymaa
Автор

Your detailed explanations on topics are really impressive. Talk about perfect timing—you started this channel just as Unity is imploding. Count me in for your upcoming videos!

creationallabs
Автор

i was very excited watching this video and also learnt a lot in this topic but the main thing i came for is how to find a node that is on another scene or how to access it from different scene. 🙂

officialdreamplayz
Автор

Thank you! These are the kind of videos that really help me understand Godot!

Harbiter
Автор

I am in love with every single video you make, thanks for doing this <3

willd
Автор

Thanks Dear.. I have a problem for accessing nodes from different scenes but did not get the related video till now. Your video is outstanding too regarding your topic... Stay Blessed.

kingshahzad
Автор

If you want to have the node available as a variable you can also use @export and connect the node through the editor. The path will also be updated when you move the node

norobotwo
Автор

We need more Godot videos like this, that are basically just visual explanations of the Godot docs. Amazing video. Very helpful for a beginner like myself

LeGAT
Автор

Bro we need more videos like these! This is so good I actually feel like I'm in school having a class when I hear u explaining this stuff.

mephistopan
Автор

This is true pedagogy, thanks for sharing these videos.

jboadas
Автор

Explained very clear, I figure this out after many hours of other tutorials. I hope I watched this when I start learning Godot.

kentang
Автор

This was absolutely amazing. Very simple and easy to follow guide! Really helped me coming from unity to godot!

keparsons
Автор

This video is a gold mine. Thank you very much for posting this! As a beginner or even anyone in general, this information is valueable. Thank you for sharing this .

Bonkers_
Автор

A truly high-quality tutorial, which are generally hard to find on YouTube. Keep up a good work, my best wishes to your channel.

lesha
Автор

Yo that's crazy, I've been using Godot for years and didn't know about the Unique Name for nodes. This is "GAME" changer for me. Thank you for your tutorial!

ZeroZero