MAXScript Language Reference > 3ds Max Objects > Animation Controllers > Controller Types > Position Controllers >

# PositionReactor - superclass: PositionController

    PositionReactor- superclass: PositionController; super-superclass:MAXWrapper - 0:0 - classID: #(2059782884, -1874176333)

Value > MAXWrapper > PositionController > PositionReactor

| Animation Controllers - Quick Navigation

Constructors

    PositionReactor... 	 Position_Reactor...

PositionReactor interfaces:

    Interface:reactions

Properties

    .editStateMode : boolean : Read|Write

Get/set the edit state of the reactor controller.

    .useCurve : boolean : Read|Write

Get/set whether the reactor controller uses the curve control.

    .createMode : boolean : Read|Write

Enable/Disable the Create mode.

Methods

    <boolean>reactTo <maxObject>object

Set the react-to object of the reactor controller.Returns true on success.

    <boolean>createname:<string>

    name default value: "scriptCreated"

Create a new reaction with the specified name. Returns true on success.

    <boolean>delete <index>index

Delete the indexed reaction. Returns true on success.

    <integer>getCount ()

Returns the number of reactions.

    <void>select <index>index

Select the indexed reaction.

    <index>getSelected ()

Returns the selected reaction’s index.

    <boolean>setStateToCurrent <index>index

Sets the indexed reaction’s state to the current state. Returns true on success.

    <boolean>setFloatState <index>index<float>state

Sets the state of the indexed reaction in a float reactor controller to the specified float value. Returns true on success.

    <boolean>setVectorState <index>index<point3>state

Sets the state of the indexed reaction in a point3 reactor controller to the specified float value. Returns true on success.

    <boolean>setRotationState <index>index<quat>state

Sets the state of the indexed reaction in a rotation reactor controller to the specified float value

    <boolean>setValueToCurrent <index>index

Sets the value of the indexed reaction to the current value. Returns true on success.

    <boolean>setValueAsFloat <index>index<float>value

Sets the value of the indexed reaction to the specified float value. Returns true on success.

    <boolean>setValueAsVector <index>index<point3>value

Sets the value of the indexed reaction to the specified point3 value. Returns true on success.

    <boolean>setValueAsQuat <index>index<quat>value

Sets the value of the indexed reaction to the specified quaternion value. Returns true on success.

    <boolean>setInfluence <index>index<float>influence

Sets the influence of the indexed reaction to the specified float value. Returns true on success.

    <boolean>setStrength <index>index<float>strength

Sets the strength of the indexed reaction to the specified float value. Returns true on success.

    <boolean>setFalloff <index>index<float>influence

Sets the falloff of the indexed reaction to the specified float value. Returns true on success.

    <void>setName <index>index<string>name

Sets the name of the indexed reaction to the specified string. Returns true on success.

    <string>getName <index>index

Returns the name of the indexed reaction.

    <float>getInfluence <index>index

Returns the influence of the indexed reaction.

    <float>getStrength <index>index

Returns the strength of the indexed reaction.

    <float>getFalloff <index>index

Returns the falloff of the indexed reaction.

    <enum>getType ()

    getType enums: {#floatReaction|#positionalReaction|#rotationalReaction|#scaleReaction}

Returns the falloff of the indexed reaction.

    <fpvalue>getState <index>index

Returns the state of the indexed reaction.

    <fpvalue>getValue <index>index

Returns the value of the indexed reaction.

#### See Also

- Reactor controller

- Reactor Controllers

- FloatReactor : FloatController

- Point3Reactor : Point3Controller

- Rotation_Reactor : RotationController

- Scale_Reactor : ScaleController

- Interface: reactionMgr

- Controller Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods