2D Text

Text is a 2D object. Add it to your project to render text in your scene.

When your effect is displayed in the camera, text you've added won't be translated into other languages.

Text will automatically be inserted as a child of a canvas.

Inserting Text

To insert a text:

  1. Click Insert in the Toolbar.
  2. Select Rectangle, then Insert.

Making Changes to Text

To adjust a text object's properties:

  1. Click on the text object in the Scene tab.
  2. Go to the Inspector panel.

Text - Properties

Alignment

Alignment moves the text object around within the parent object. Text objects can be aligned to the top, center, bottom, left and right.

Visible

Uncheck this box to stop the text object from being rendered in the scene.

Size

Edit the size of the text object in the scene.

Text

Enter the text you want to see in the scene.

Flexibility

Using Flexibility will scale a text object's width and height proportionately to it's parent - so if you double the size of the parent, the text will double in size too. This means text will stay in proportion on all devices, if the parent canvas is in screen space.

Flexibility needs to be turned on. Do this by clicking the arrows next to Flexibility in the Inspector panel.

Pinning

Pinning a text object will mean it maintains the same distance to its parent's border, however much you transform the parent.

Text objects can be pinned to the top, bottom, left and right.

Typography

Text

Enter the text you want to add.

Editable Text

Check this box to allow people using your effect to customize the text. When checked, you may add a placeholder using the placeholder field indicating that the text is editable. Find out more.

Dynamic Text

Insert a token into the Text box to show personalized text using mobile device data, like current city or the day of the week, in your project. Find out more about adding dynamic text.

Font

Select from a wide variety of pre-installed fonts, including ones with typographical emphasis, such as bold or italics. Find out more about adding your own fonts.

Font Size

Change the size of the font you're using.

Color

Select which color you want your font to be from the color palette.

H Alignment

Choose from left, center or right horizontal alignment for your text.

V Alignment

Choose from top, middle or bottom vertical alignment for your text.

Line Spacing

Adjust the space between lines of text.

Letter Spacing

Adjust spacing between letters.

Max Lines

Set the largest number of lines you'll allow for this text object.

Position

Alter the position of the text in your scene. There's no Z position because text is a 2D object.

Material

Create a material for your text to add a custom texture.