Text Input

The Text Input Object allows the user to add singleline text with a background to their Project. It can be completely customized in the Attributes.

Text Input.

Attributes

The Object's Attributes can be used to fully customize the Object. Explained below, they are:

Transformation

Transformation Attributes.

The Transformation Attributes deal with placement, rotation, and size in XY space. More information can be found here.

Text Input

Text Input Attributes.

The Text Input Attributes provide crucial data for a Text Input Object.

  • Text is simply the desired text.

Text

Text Attributes.

The Text Attributes offer the user options to customize the Text:

  • Color decides the color of the text.

Font

Font Attributes.

The Font Attributes offer the user options to customize the Text's font:

  • Family offers three different font types: monospace, sans-serif, and serif. More fonts can be added by the user in Project Settings.

  • Size determines the size of the font in pixels.

Style

Style Attributes.

The Style Attributes offer the user options to customize further visual aspects of the Text Input:

  • The Background Color is the color of the Text Input box which appears behind the text.

  • CSS Classes contain the CSS class names of the Object.

  • Stylesheet contains the CSS stylesheet of the Object. This can override any stylesheet provided in the Project Settings or a Scene2D. To address these in the Logic, please refer to the Object 2D Nodes.

Tag

Tag Attributes.

This Attribute manages the tags for the Text Input. See more on tags here.

Last updated

Was this helpful?