Specifying wich node has entered

Godot Version



I have an area 2d that moves towoard the player an I want it to kill him when it toches him. Right now I am using a signal and I would like it to use groups to specify the node. How can I achieve this?

Would this solution work for you?

yes thanks loads