extends Area2D func _on_body_entered(body) -> void: if body is BoxBoy: body.apply_bounce()