Skip to main content
VIQRC Virtual Skills - Slapshot

Spin The Dispenser

Use [Drive for], [Turn for], and [Spin for] blocks to code the Hero Bot to drive to a purple Dispenser and remove all the Discs from the purple Dispenser.

  • Select the VIQC Virtual Skills - Slapshot Playground.
  • Drive the Hero Bot to a purple Dispenser.
  • Code the Hero Bot to spin the Intake Motor to spin the wheel of the purple Dispenser for a set time to release the Discs.

Helpful Hints

  • Use the spin IntakeMotor block from the Motion category and select the intake direction to spin the wheel of the purple Dispenser.
    Spin Intake motor forward block
    • Matching Python command:
      Spin Intake motor forward python command
  • Use the stop IntakeMotor block from the Motion category to stop spinning the Motor.
    Stop Intake motor block
    • Matching Python command:
      Stop Intake motor python command
  • Use the wait block from the Control category to make the Hero Bot wait for a specific amount of time before executing the next block.
    Wait 1 seconds block
    • Matching Python command:
      Wait 1 seconds Python command