Files
CarRacer/Wrong Way.gd
2020-10-28 16:08:07 +01:00

13 lines
253 B
GDScript

extends Label
# Called when the node enters the scene tree for the first time.
func _ready():
set_visible(false)
func _on_TileMap_wrong_way(coords):
if coords == Vector2(-1,-1):
set_visible(false)
else:
set_visible(true)
set_position(coords)