Turn Right () Degrees
turn right () degrees
Category Motion
Type Stack
Introduced in 0.1

The turn right () degrees block is a Motion block and a stack block. The block turns its sprite's direction the specified amount of degrees clockwise. The block supports any input value from -179 to 180.

This block was known as "turn ()" in Scratch 0.1, before being renamed to "turn right ()" in Scratch 0.2, then to "turn () degrees" in Scratch 0.3, then to "turn right () degrees" in Scratch 0.5.

Example Uses

Direction dependent of value

This block is commonly used for repeatedly rotating a sprite.

Some common uses for the turn right () degrees block:

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

Workaround

Main article: List of Block Workarounds

The block can be replicated by manually setting the direction using its value


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

See Also