Control Blocks

  • Name:Flag Block or Hat Block
  • Type: Control
  • Description: Runs the blocks that are attached when clicked.
  • Name: When Space Key Pressed Block
  • Type: Command
  • Description: This block listens for the event in the drop down box and then executes the attached blocks. The event can be 'any key', 'up arrow', 'down arrow', 'right arrow', 'left arrow', 'space bar' pressed, or the letters 'a' to 'z', or the numbers '0', to '9'.
  • Name: When I am clicked Block
  • Type: Command
  • Description: This block listens for the event in the drop down box and then executes the attached blocks. The event can be 'clicked', 'pressed', 'dropped', 'mouse-entered', 'mouse-departed', 'scrolled-up', 'scrolled-down', and 'stopped'.
  • Name: When Block
  • Type: Command
  • Description: This block executes the attached blocks when the logical condition inserted evaluates to true.
  • Name: Message Block
  • Type: Reporter
  • Description: This block contains the value of message being passed from one script to another.
  • Name: If Then Else Block
  • Type: Reporter
  • Description: This block returns the value in the first input box if the logical expression inserted evaluates to True or the second input box if it evaluates to false.
  • Name: Call Block
  • Type: Command
  • Description: This block calls a named function with optional input values.
  • Name: When I Receive Block
  • Type: Control
  • Description: This block runs the attached blocks when broadcast is called.
  • Name: Broadcast Block
  • Type: Control
  • Description: This block tells other scripts to run. Broadcast runs those scripts and continues running.
  • Name: Broadcast and Wait Block
  • Type: Control
  • Description: This block broadcasts to tell other scripts to run and waits for those other scripts to finish before continuing.
  • Name: Send To Block
  • Type: Command
  • Description: This block sends a named message designated in the first drop down box, to an object designated in the second drop down box.
  • Name: Warp Block
  • Type: Control Block
  • Description: This block quickly runs the enclosed blocks without writing to the screen until execution is complete.
  • Name: Wait Block
  • Type: Control Block
  • Description: This block pauses program execution by the number of seconds entered. This block is important for animation projects.
  • Name: Wait Until Block
  • Type: Command
  • Description: This block pauses execution until the logical expression inserted evaluates to True.
  • Name: Forever Block
  • Type: Control
  • Description: This block repeats the code contained inside of it forever. Use this block to continuously run the enclosed code.
  • Name: Repeat Block
  • Type: Control
  • Description: This block will repeat the enclosed code a number of times by changing the number to the number of repeats. Use this block to run code a certain number of times.
  • Name: Repeat Until Block
  • Type: Control
  • Description: This block repeats the code contained inside of it until a logical condition is met. Use this block to re-run code until a logical condition becomes false.
  • Name: For i Equals Block
  • Type: Command
  • Description: This block iterates through the enclosed code blocks until the counter i reaches 10. Note this block requires that the user increase i within the code loop.
  • Name: If Block
  • Type: Command
  • Description: This block conditionally iterates through the enclosed blocks if the logical condition at the top of the block evaluates to True.
  • Name:If Else Block
  • Type: Command
  • Description: This block conditionally iterates through the enclosed blocks if the logical condition at the top of the block evaluates to True. If it is not true, it will iterate through the enclosed blocks following the 'else'.
  • Name: Report Block
  • Type: Command
  • Description: This block returns the value entered into the input square.
  • Name: Stop All Block
  • Type: Command
  • Description: This block stops script execution as indicated in the drop down box. The stop options include 'all', 'this script', 'this block', 'all but this script', and 'other scripts in sprite'.
  • Name: Run Block
  • Type: Control
  • Description: Runs a set of blocks passed as a variable or in a ring. Useful for passing functions as variables.
  • Name: Launch Block
  • Type: Command
  • Description: This block launches the execution of a named function with the optional input names it defines.
  • Name: Tell To Block
  • Type: Command
  • Description: This block sends a named object to a named function with optional input names.
  • Name: Ask For Block
  • Type: Reporter
  • Description:
  • Name:Run With Continuation Block
  • Type: Command
  • Description:
  • Name: Call With Continuation Block
  • Type: Reporter
  • Description:
  • Name: When I Start As A Clone Block
  • Type: Command
  • Description:
  • Name: Create A Clone Block
  • Type: Command
  • Description:
  • Name: A New Clone Of Block
  • Type: Reporter
  • Description:
  • Name: Delete This Clone Block
  • Type: Command
  • Description:
  • Name: Pause All Block
  • Type: Command
  • Description: