 Hello, and welcome to this minimal Godot tutorial today. We're gonna talk about children and parents because you can't talk about children without parents let's go ahead and create a new 2d scene and What I'm going to do here is I'm going to change the type of our main thing here our main node first of all I'm going to rename it parent And then I'm going to right-click and say change type and I'm going to change the type to a sprite So now our main node is a sprite what I'm going to do is with that selected I'm going to choose something like our icon here and I drag it into the texture and there we go We have our sprite. That's our main parent here. Let's go ahead and attach a script to this and What I'm going to do is I'm going to attach a script that already exists instead of creating a new one I'm going to choose this one that says rotate load it and Now if I go back to our 2d scene here, I'm going to hit f6 and I'm going to save our scene I'll just call it parent. You can see He's up here in the corner. Let me move him out of the corner there right here Into our viewport f6 now. He's rotating We already did that before so what is it a parent and a child? Well now with this parent selected if I drag another sprite over and you can see he's a child Of the parent because he's in one tree below Or any number of trees below I can hit f6 and now when he rotates The other one rotates as well. Let me go ahead and transform him make him a little bit smaller maybe just for looks I'm going to put him here. I'm going to shift d shift d shift d shift d Now if I hit f6 you can see they are all attached to that parent And if that parent was moving across the screen it would move it it just follows everything the parent does So that's what a child does and you can see I've used in previous videos examples of this is think of Mario brothers where you have Inside the dungeon levels the flames on a stick the flaming sticks with little balls of fire twirl around as the whole stick Twirls around you could do that with parents and children. So that's a quick look at what parents and children are Thank you for watching and please visit my website films by chris.com. That's chris the k I hope that you have a great day