Skip to content

BBCode Text Object Reference

A BBText is an object displaying on the screen a rich text formatted using BBCode markup (allowing to set parts of the text as bold, italic, use different colors and shadows). Read more explanations about it.

BBText

Displays a rich text label using BBCode markup (allowing to set parts of the text as bold, italic, use different colors and shadows).

Object actions

Alignment
Change the alignment of the text.

BBCode text
Set BBCode text

Color
Set base color

Font family
Set font family

Font size
Set base font size

Word wrap
Set word wrap

Wrapping width
Change the width, in pixels, after which the text is wrapped on next line.

Object conditions

Alignment
Check the current text alignment.

BBCode text
Compare the value of the BBCode text.

Font family
Compare the value of font family

Font size
Compare the base font size of the text.

Word wrap
Check if word wrap is enabled.

Wrapping width
Compare the width, in pixels, after which the text is wrapped on next line.

Object expressions

Expression Description
Object.GetAlignment() Get the text alignment
Object.GetBBText() Get BBCode text
Object.GetFontFamily() Get the base font family
Object.GetFontSize() Get the base font size
Object.GetWrappingWidth() Get the wrapping width

This page is an auto-generated reference page about the BBCode Text Object feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.