How do I simplify this?
There has to be a way and I bet it's easy but I can't figure it out. I don't want to add another "or" every time I add a frog. Also for projectiles that I spawn during the game I can't use name because they all have different names. All of these share the same parent node but I can't figure out how to check parents name. I tried looking this up but I failed to find anything.