how do i specify a group in a signal

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

i want the signal “Body entered(node)” to trigger something only when the body that is in a certain group enters how can i do that? please help.

:bust_in_silhouette: Reply From: Inces

On Body-entered(node):
----if node.is-in-group(“nameofthatgroup”) :
-----------trigger stuff