Lesson goal: Drawing with text

Previous: Drawing circles | Home | Next: Draw something!

The print statement allowed you to display text on the screen. There is another way of displaying text on the screen too, which is to "draw" the text at some specific location on the screen, with a desired font-size as well.
printxy(x,y,"text",font-size)
Move the mouse over a dotted box for more information.

Now you try. Use the printxy to draw some text messages on the screen. Hover the mouse cursor over the output window to get a handle on the where x,y coordinates lie.

Type your code here:


See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code:

Does your code work? Want to run it on your iPhone?

Here's your code:

  1. Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.

  2. Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into this page

  3. Then click the "Use on iPhone" button that you'll see.