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

# float_list : FloatController

    float_list - superclass: FloatController; super-superclass:MAXWrapper - 1:1 - classID: #(1263210496, 0)

Value > MAXWrapper > FloatController > float_list

| Animation Controllers - Quick Navigation

The List controller combines multiple controllers into a single effect. It is a compound controller with tools for managing the order in which its internal controllers are calculated. Controllers are evaluated in a top to bottom order; the controller at the top of the list is evaluated first.

When you assign a List controller to a parameter, the current controller is moved one level below the List controller; it becomes the first controller in the list. A second parameter is added below the List controller and is named Available. This is an empty placeholder for the next controller you add to the list.

Constructor

    float_list...
    floatList...

Properties

    <float_list>.available Float default: 0.0 -- animatable; float

Represents the Available sub-controller.

    <float_list>.average Boolean default: false -- boolean; Average_Weights

Controls the state of the "Average Weights" checkbox.

    <float_list>.weight ArrayParameter default: #(100.0) -- float array; SubAnim

Get/set the array of the weights for the List controller’s sub-controllers.

List Interfaces

    Interface:list

Properties:

    .count: integer : Read

    .active: index : Read|Write

Methods

    <integer>getCount ()

This method returns the number of items that appear in the List controllers list box.

    <void>setActive <index>listIndex

This method allows you to sets the indexed item in the list active so its parameters appear in the motion panel, and any input is directed to the indexed sub controller.

<index>listIndex: The index of the item to set as the active item.

    <integer>getActive ()

This method returns the index of the currently active item.

    <void>delete <index>listIndex

This method allows you to delete the indexed sub controller from the list.

<index>listIndex: The index of the item to delete from the list.

    <void>cut <index> listIndex

This method allows you to cut the index sub controller from the list and stores it in the buffer to paste later.

<index>listIndex: The index of the item you wish to cut.

    <void>paste <index>listIndex

This method allows you to paste the sub-controller from the buffer into the indexed slot in the list.

<index>listIndex: The index of the slot to paste into.

    <string>getName <index>listIndex

This method allows you to paste the sub-controller from the buffer into the indexed slot in the list.

<index>listIndex: The index of the item for which to get the name.

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

This method allows you to set the name of an indexed item.

<index>listIndex: The index of the item.

<string>name: The name to set it to.

See Also Class IlistControl, in the SDK Help file accompanying this product.

#### See Also

- List Controllers

- point3_list : Point3Controller

- position_list : PositionController

- rotation_list : RotationController

- scale_list : ScaleController

- Controller Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods