Pencil Code Reference > pause

 

pause pauses the turtle

pause is used to pause the turtle for a specified number of seconds.

pause is one way you can slow a turtle down so other animations and actions can catch up.

  pen red
  fd 50
  lt 90
  pen blue
  pause 2
  fd 50

You can also control an element's speed and timing by using speed to set the number of moves per second and sync to synchronize an element's timing with other elements.