Chapter 2

Motion and Looks Blocks

Learn how blue Motion blocks move a sprite and purple Looks blocks change how it appears and talks.

Two of the most useful groups of blocks are Motion (blue) and Looks (purple). Motion blocks make a sprite move around the Stage, and Looks blocks change how it appears or make it talk.

Motion Blocks (blue)

Motion blocks live under the blue Motion category. Here are the most common ones:

  • move 10 steps — moves the sprite forward in the direction it is facing.
  • turn right 15 degrees and turn left 15 degrees — rotate the sprite.
  • go to x: 0 y: 0 — jumps the sprite to an exact spot.
  • glide 1 secs to x: 0 y: 0 — slides smoothly to a spot over time.
  • point in direction 90 — sets which way the sprite faces (90 is to the right).

Looks Blocks (purple)

Looks blocks change how a sprite looks or let it speak:

  • say Hello! for 2 seconds — shows a speech bubble.
  • think Hmm... — shows a thought bubble.
  • switch costume to — changes the sprite to a chosen costume.
  • next costume — moves to the following costume, great for animation.
  • change size by 10 and set size to 100 % — make a sprite bigger or smaller.
  • show and hide — make a sprite appear or disappear.

Making a Sprite Walk

To make the cat look like it is walking, put next costume together with move 10 steps. Switching costumes quickly while moving creates a walking animation.

Remember

  • Motion blocks are blue and change position or direction.
  • Looks blocks are purple and change appearance or make the sprite talk.
  • Use next costume with move to animate walking.

Stuck on this topic? A verified JomKelas tutor can walk you through it.

Find a verified tutor