Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    The "Wait" Block

    2D Blocks
    1
    1
    208
    Loading More Posts
    • 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.
    • info-creaticode
      CreatiCode last edited by admin

       

      Prerequisite

      • Working with Sprites

       

      Description

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


       

      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


       

      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.


       

      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.


       

      1 Reply Last reply Reply Quote 0
      • First post
        Last post