Studio › Manual › Motion and effects

Text tracks: font, alignment, wrap

Select a key on a text track to set, in the inspector, its Text, its Font, its Align and Wrap:

  • Align: left, centre or right, and top, middle or bottom, against the track's position (as draw_set_halign and draw_set_valign with draw_text). Each line is placed by its own width, the whole block by its height, and the canvas draws it so: a centred title sits on the track's position, its selection box round the text.
  • Wrap: GameMaker breaks long lines at the text's frame width in the game. Studio saves the switch; its canvas keeps each line as typed.

Each change is one step in Edit > Undo and is written as GameMaker writes the key (Alignment: horizontal in the low byte, vertical above it).

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.