1 2 3 4 5 6 7
extends PathFollow2D export(String, "body", "tail") var TYPE: String = "body" func _physics_process(delta: float) -> void: offset += Global.SNAKE_SPEED * delta