extends CanvasLayer class_name HUD export var coins_amount:int = 0 onready var Lable = get_node("CoinsContainer/Label") func on_coin_collected(amount:int): coins_amount += amount Lable.text = str(coins_amount)