bodyleft( degrees )


Parameters

  Type Description
degrees numeric amount to rotate

_result

Not set.

Descriptions

Rotates a robot's body counter-clockwise the amount specified by degrees. Negative values cause clockwise rotation. The rotation rate of a robot's body is ±5 degrees per turn relative to the ground. See the robot attributes topic for more information about rotation rates.

After calling the bodyleft command, you can determine the amount of rotation remaining using the _bodyrmn system variable. When any component of a robot is rotating, the _rotating system variable is true. Bodyleft generally requires multiple turns to complete and therefore causing blocking.

See Also

bodyright, gunleft, gunright, radarleft, radarright, stop, stoprotate, blocking, _bodyrmn, _rotating