text with different sizes and colors in just one label

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ilify

Is there a way to render a label that contains a text set through script that has two parts that are different in size and color
$label.text = “HelloWorld”
but hello has a size of 25 and its black and world has a size of 15 and its blue