How do I tell the engine if it's not in a group?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Yamz
if !cuerpo.collider.is_in_group("Enemy"):

I tried this but it doesn’t work.

is if not cuerpo.collider.is_in_group(“Enemy”): working?

supper_raptor | 2019-12-11 09:45

We probably need to see more information. This should work, so there could be a misspelling somewhere of the group names or the groups just aren’t set up how you thought.

andersmmg | 2019-12-11 19:03