GMTKJam2021/DropOffPoint.gd

8 lines
171 B
GDScript

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