Sprite Lab Documentation

 
Category:Text

A sequence of characters.

String is the word used to describe a sequence of characters that could be letters, numbers, or symbols. The string can be stored in a variable or printed onto the display when attached to specific text blocks.

Examples

Example 1

Printing text can make it look like the sprite is talking. Click the sprite to see it talk!

Example 2

Text can be used to describe data. Here, text is used to explain the bunny’s size.

Syntax

text

Parameters

NameTypeRequired?Description
string

Any sequence of characters inputted from the keyboard

Found a bug in the documentation? Let us know at support@code.org.