Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Knowledge Base
  3. 2D Blocks
  4. The "Wait" Block

The "Wait" Block

Scheduled Pinned Locked Moved 2D Blocks
1 Posts 1 Posters 750 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CreatiCodeI Offline
    CreatiCodeI Offline
    CreatiCode
    wrote on last edited by admin
    #1

     

    Prerequisite

    • Working with Sprites

     

    Description

    The “Wait” block is a Stack Block in the Control category.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/0210483f-4caa-4346-92b6-552e25b9fc87.PNG" width="600" style="">
     

    Seconds, Milliseconds and Frames

    The wait block is used to make a Sprite wait for some time before running the next block. Note that 1 second = 60 frames = 1000 milliseconds

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/cf1c4035-4907-451c-bc3a-7900b90b328b.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
     

    Blocks After the Wait Block

    The program will pause during the wait, so the blocks after the wait block will not run until the wait is over.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/355ee6c9-c9ab-4817-8884-bd8dc32240c4.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
     

    Demo: Animation Using the Wait Block

    In this example, we show a few costumes one by one. To make sure the user can view each costume clearly, we can add some “wait 1 second” blocks before we switch to the next costume.

    https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/a41f3b92-8b56-4eb7-a0e2-2dbc4d4ea48b.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
     

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode