MotorsOn Property

Description
Sets and return the status of the motor power on or off for the current robot.

Syntax
Property MotorsOn As Boolean

Default value
False

Return Value
A Boolean value that is True if motors are on, False if not.

See Also
PowerHigh Property, Reset Method, Robot Property

MotorsOn Example
VB Example:

If Not m_spel.MotorsOn Then  
   m_spel.MotorsOn = True  
End If  

C# Example:

if (\!m_spel.MotorsOn)  
   m_spel.MotorsOn = true;