Area_collision.gd 87 B

12345678
  1. extends Area
  2. func _ready():
  3. pass
  4. func _on_Area_body_entered(body):
  5. body.hit()
  6. pass