"say" arguments - color, font, font size, and time to display — Codesters Support

Codesters FAQ is the official FAQ site for codesters.com. We will continue to update this blog with the most common questions we receive form teachers using Codesters.

"say" arguments - color, font, font size, and time to display

You can change the time to display, font, color, and size on "say".  In this example, the text "I am a sprite" will display for 2 seconds in green, chalkduster font, size 20.  Many font styles will work so give it a try with your favorite font!  In addition, you can use the secs to display in place of adding a stage.wait() command. If you want the sprite to keep saying the text, use 0 as the secs to display.

sprite.say(“This is a string”, secs to display, color, size, font)

Example: sprite.say("I am a sprite", 2, "green", 20,"chalkduster")

Example: sprite.say("I am a sprite", 2, "green", 20,"chalkduster")