extends Sprite2D @export var mover: Mover func _ready(): mover.started_moving.connect(_on_mover_started_moving) func _on_mover_started_moving(_from: Vector2i, dir: Vector2i): if dir.x != 0: flip_h = dir.x < 0