GMTKJam2021/DropOffPoint.gd

6 lines
146 B
GDScript

extends Node2D
export var destinationColor = Color.yellow
onready var sprite = $Sprite
func modulate_color():
sprite.modulate = destinationColor