different colored words on the same label.

jackhenjackhen Posts: 19Member

Im trying to make a label that contains a pair of words that are colored based on what word they are, which I want to define in code. Can I make form text using different colored words in code and then add that to a label?

Comments

  • TwistedTwiglegTwistedTwigleg Posts: 2,810Admin

    I don’t know if there’s a way to color individual parts of text in a label, but I know you can via the RichtextLabel node. The BBCode is [color=red]red text[/color] if I recall correctly.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file