extends Area2D signal TargetHit func _on_body_entered(body: Node2D) -> void: if body is not CharacterBody2D: return TargetHit.emit()