Skip to content
Roblox API Reference

Motor

Makes a movable JointInstance between two parts.
Memory category
BaseParts
Own members
5
Inherited members
82
Subclasses
1
Siblings
8

Properties34

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromJointInstance7

Property categoryBehavior

Property categoryData

Defined byMotor4

Property categoryData

  • Motor.CurrentAngle: number = 0
    Displays the current rotation of the motor in radians.
    • Not replicated
    • Read capabilities: Physics
    • Load only
  • Motor.DesiredAngle: number = 0
    The desired angle to turn the motor to in radians.
    • Read capabilities: Physics
  • Motor.MaxVelocity: number = 0
    The maximum velocity the motor can use to reach Motor.DesiredAngle measured in radians per physics frame (1/60th of a second).
    • Read capabilities: Physics

Property categoryReplication

  • Motor.ReplicateCurrentAngle: number = 0
    • Hidden
    • Not scriptable
    • Roblox engine security
    • Read capabilities: Physics

Methods43

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byMotor1

Events10

Inherited fromObject1
Inherited fromInstance9