Hi!
I am trying to asign a new color to a TextBlock
Print("Trying to change to Yellow")
InColor : color = color {R := 29.0, G := 29.0, B := 29.0}
CurrentLevelTextBlock.SetTextColor(color)
Print("Color changed to YELLOW")
But I have an error at “color” This function parameter expects a value of type color, but this argument is an incompatible value of type type(color, color).
I checked the documentation and SetTextColor expects a color
SetTextColor<native><public>(InColor:color):void
Any idea?