Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

Transcript

You can create text that flashes like you see here by continuously changing the color.

First, you need a sprite with text.

Note that if you make the sprite black, the change color by block won't work.

In order to have the text flash different colors, make your words any color other than black.

Now you can use the change color by block to change the color of the text.

To make the words look like they are actually flashing, create code that makes them change color and possibly wait in between color shifts.

You know how to do this.

Now it's your turn.

Add a sprite with words, and place a loop around the change color by block to make it flash.

Choose an Add-On
Twirl Pattern
In this add-on, you will program a pattern.
Bouncing and Talking
In this add-on, you will add a sprite that bounces across the screen and speaks when something happens to it.
Flashing Text
In this add-on, you will add flashing text to your project.
Say Stuff from an Array
In this add-on, you will have your Sprite say stuff from a list (Remember: In computer science, we sometimes call a list, an array).
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!
Attributions
  • The song “Festival” is © YouTube-- CC-BY-SA 4.0 does not apply.
  • "The First Moon Landing" by Llyr111 ( https://scratch.mit.edu/projects/3030451/) -- Licensed under CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)
  • "UTC - FIRST Robotics Competition (13571310653)" by Barbara Bresnahan (https://commons.wikimedia.org/wiki/File:UTC_-_FIRST_Robotics_Competition_(13571310653).jpg#file) -- Licensed by Creative Commons Attribution 2.0 (https://creativecommons.org/licenses/by-sa/2.0/deed.en)