In other languages

Help the wiki!

The Scratch Wiki is made by and for Scratchers. Do you want to contribute?

Learn more about joining as an editor!

See discussions in the Community Portal

Turn () Degrees (blocks)

(Redirected from Turn () Degrees (block))

Turn () Degrees
2.0 Turn () Degrees.png
Category Motion
Type Stack

The Turn () Degrees blocks are Motion blocks and Stack blocks. The blocks turn their sprite the specified amount of degrees clockwise or counter-clockwise (depending on which block is used); this changes the direction the sprite is facing.

The blocks use the 360 degrees in a circle. The Default Value is 15 and can be replaced by any Number (360+x displays the same than 0+x).

Example Uses

Direction dependent of value

These blocks are the easiest way to rotate a sprite, unless many costumes are used to give the illusion of rotation or the workaround is used.

Some common uses for the Turn () Degrees blocks:

  • Simple rotation — e.g. planets and wheels
   turn cw (15) degrees
  • Animation — e.g. a waving hand
repeat (5)
   turn cw (15) degrees
repeat (5)
   turn ccw (15) degrees
  • Vehicles that can turn
   if <key [left arrow v] pressed?> then
      turn ccw (3) degrees
   if <key [right arrow v] pressed?> then
      turn cw (3) degrees


Main article: List of Block Workarounds

The blocks can be replicated with the following code:

point in direction ((direction) + (amount))
point in direction ((direction) - (amount))

See Also

  • This page was last modified on 19 October 2017, at 15:35.