This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NOTE!!! | |
#If you are using Godot 4+, replace "onready" with "@onready", "red" with "RED" and "update()" with "queue_redraw()" | |
extends Node2D | |
onready var path = get_node("Path2D") | |
var idx = 0 | |
var c = Color.red | |
func _input(event): |