Category:World

Prints the connected text to the top of the display.

Printing is a way to add text to a project, such as narration, character dialog, or instructions for a game. Only 6 lines of text will appear at a time, and printing more than six lines will cause a scroll bar on the right to appear.

Parameters

Name Description
text The text that will appear at the top of the display

Tips

  • Print can be used to debug code and display the property of a sprite.
  • Use another print command to start a new line of text.
  • If there are more than 6 lines of text, the scroll bar can be used to see the rest of the text not shown on the display.

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