0 votes
foreach (Node child in GetChildren())
        GD.Print(child.Name + "\t" + child.IsInGroup("Ememies"));

// Output: Label false.
// Output: Button false.

asked Jul 19, 2019 in Engine by zhylaw (12 points)

1 Answer

0 votes

You did a typo: it's Enemies, not Ememies.

answered Jul 19, 2019 by Zylann (26,782 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.