extends CharacterBody2D @onready var speed = 0 func _ready() -> void: $"Sprite".frame = randi_range(0,4) func _process(delta: float) -> void: speed = $"..".speed global_position.x -= speed*delta