extends Door @export var invert_direction := true func _on_body_entered(body: Node2D) -> void: if body is Player: await super._on_body_entered(body) if invert_direction: Game.current_direction *= -1