Detect groups in Areas

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ManiCus

Detect groups in Areas

if I do:
func on area entered area():
if is in group(“x”):
it dosent work

I know you can detect it with bodies:
func on area entered body():
if in Group(“x”):
it works

but i want to detect groups in areas…

:bust_in_silhouette: Reply From: Asthmar

Are you putting if area.is_in_group()

And do you have the correct area your looking for in the group?