extends Area2D @export var speed := 700 signal hit(bullet, body) func set_speed(speedval): speed = speedval func _physics_process(delta): position += transform.x * speed * delta func _on_body_entered(body): print ("Hit a thing") # Replace with function body.