Invert Motor Block

The Invert Motor block changes the direction of rotation of a motor. When you invert a motor direction, a programming block that would normally make the motor turn clockwise will make the motor turn counter-clockwise instead.
Inverting a Motor Direction



Port Selector
Invert motor direction Input

Select the motor (A, B, C, or D) that you want the Invert Motor block to affect by using the Port Selector on the top of the block.
Modes
Invert Motor
The Invert Motor has a single mode named Invert Motor. If the Invert input is True, the selected motor will have its normal “forward” and “backward” directions swapped. Any programming blocks after the Invert Motor block that would normally make the motor turn clockwise will instead make the motor turn counter-clockwise, and vice-versa.

Once a motor direction is inverted, it will stay inverted until another Invert Motor block changes it back with Invert equal to False.

For information on the normal motor directions, see:
Medium Motor Power and Direction
Large Motor Power and Direction
Input
The input of the Invert Motor block specifies whether or not the selected motor should be inverted. You can enter the input value directly into the block. Alternatively, the value can be supplied by a Data Wire from the output of another Programming Block.
InputTypeAllowed ValuesNotes
Invert LogicTrue/FalseIf True, the selected motor has its normal “forward” and “backward” directions swapped.

If False, the selected motor will turn in the normal direction.
Invert Motor
Quick links