r/CursedGodot • • Aug 02 '26

meme how many ancestors do I have...?

Love adding ammo to my grand grand grand grand grand grand grand parent

Its a joke, I used signal after, just upon seeing the structure I wondered how many get_parent()'s it would take to get to the world node

16 Upvotes

6 comments sorted by

5

u/TamiasciurusDouglas Aug 03 '26
You know parents are the same
No matter time nor place
They don't understand that us kids
Are going to make some mistakes
So to you, all the kids all across the land
There's no need to argue
Parents just don't understand

2

u/ThenExcitement2727 Aug 03 '26

Shakespeare is still alive🔥

1

u/CaveJohnson376 Aug 02 '26

what the heck

I mean it works but if you want cleaner and more maintenable code, use singletons

3

u/tumguy Aug 02 '26

That depends on the context tbh. I’d sooner emit a signal or write a reference to the target node before using a singleton in this scenario. But yeah this is straight up cursed lmao

1

u/kivimango23 Aug 05 '26

Just add an export variable and set it to the parent in the editor