MAXScript Language Reference > 3ds Max Objects > Animation Controllers > Controller Common Properties, Operators, and Methods >

# Controller Out-Of-Range Functions

Value > MAXWrapper > Controllers > Out-Of-Range Functions

| Animation Controllers - Quick Navigation

    getBeforeORT <controller>

Gets the Out-of-Range type (ORT) for the controller for the time before the first key.

Returns one of the following name values:

    #constant #cycle #loop #pingPong #linear #relativeRepeat

    getAfterORT <controller>

Gets the Out-of-Range (ORT) type for the controller for the time after the last key. Returns one of the name values as for getBeforeORT() shown above.

    setBeforeORT <controller> <ORT_type_name>

Sets the Out-of-Range (ORT) type for the controller for the time before the first key.

The <ORT_type_name> must be one of the following name values:

    #constant #cycle #loop #pingPong #linear #relativeRepeat

    setAfterORT <controller> <ORT_type_name>

Sets the Out-of-Range (ORT) type for the controller for the time after the last key. The <ORT_type_name> must be one of the symbolic values shown in setBeforeORT() above. No testing done on the validity of <ORT_type_name> is performed.

    enableORTs <controller> <boolean>

Enables or disables the Out-of-Range processing for the controller. If set to disabled with false , the controller effectively employs a constant ORT.

#### See Also

- Animation Controllers