This is my research code, I create a canvas and text, the default text is divided on the canvas, when I change the color of the canvas, the canvas comes over the text and it's blocked, I want the text to appear on top of the canvas I change the color, but after using these functions, nothing happens, okay.
Code Select
function Script::ScriptLoad()
{
myCanvas<-GUICanvas();
myCanvas.Position=VectorScreen(0,0);
myCanvas.Size=VectorScreen(200,200);
myCanvas.Colour=Colour(45,45,45,100);
mylabel<-GUILabel();
mylabel.Text="Text Label";
mylabel.TextColour=Colour(255,255,255,255);
mylabel.FontSize=50;
mylabel.Pos=VectorScreen(0,0);
myCanvas.AddChild(mylabel);
}
function ChangeColour()
{
myCanvas.Colour=Colour(0,150,0,100);
mylabel.SendToTop();
}