extends ColorRect # Called when the node enters the scene tree for the first time. func _ready() -> void: pass # Called every frame. 'delta' is the elapsed time since the previous frame. func _physics_process(_delta: float) -> void: if !Globals.FUN: color.r = 0.0 if name == "RestrBackground" else 0.18 else: color.r = randi_range(0, 1) color.g = color.r color.b = color.r