Getting Started with PictoBlox
Important Terms

run motor () in direction () with speed () %

The run motor () in direction () with speed () % block is a stack block which is available in the Actuators palette. The block takes the motor port (M1 or M2), the direction of rotation (forward or reverse) and speed of rotation (between 0 to 100 %) as input from the user and rotates the motor accordingly.

There are two motor ports M1 and M2 in evive, you can choose either depending on which port you’ve connected the motor. 

evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.


  1. This script checks if the space key is pressed, then the motor 1 in forward direction with 100% speed, else the motor is stopped using () motor () block.
  2. In this example, the motor will run in full speed in direction 1 for 1 second, then it will lock for 1 second, then run in direction 2 for 1 second, then it will be free for 1 second, and repeat the process again.
    run motor example upload mode
This helped
This didn't help

Content is available under CC BY-SA 4.0 unless otherwise noted.

PictoBlox Supported Boards
Close Menu


STEMpedia Starter Kit is now available on Indiegogo!
STEMpedia Starter Package is now on Indiegogo!
Get 41% OFF with Super Early Bird discounts!