Knowledge Base

Set Direction Block

The Set Direction block is used to set the direction of a motor.

To set the direction of a motor, add the Set Direction block to your program, and select the motor and direction to rotate.


Parameter Description Configuration
get Select the motor for which you are setting the direction.


setDirection Select the direction in which to rotate the motor.


Hints and Tips

The Set Direction block only affects blocks that follow it. If a motor is already rotating, adding a Set Direction block will not reverse the direction of rotation until another block is added to rotate the motor again.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.

Powered by Zendesk