extends Area2D
@export var effect = "alert"
signal areatrigger(effect, Object)
func _on_body_entered(body):
if body.is_in_group("sprite"):
areatrigger.emit(effect, body)