MAXScript Extensions > MAXScript Extensions for 3ds Max CAT > CAT Controllers > CAT Motion Controllers >

# CATHierarchyRoot : FloatController

    CATHierarchyRoot : FloatController {507514e5,30b07fad}

| 3ds Max CAT - Quick Navigation

This Controller is a component of the CAT Motion Controllers Hierarchy of3ds Max CAT.

Constructor:

    Class instances not creatable by MAXScript

Properties:

     <CATHierarchyRoot>.Branches (Layer) : float array

Contains the array of branches (layers) of the Root controller.

Accessing the .controller property of each array element returns the respective CATHierarchyBranch controller.

     <CATHierarchyRoot>.BranchNames (LayerNames) : string array

Get/set the array of names of the Root controller's branches.

Setting the arrays or the array's elements will rename the branches of the root controller.

     <CATHierarchyRoot>.Expanable : integer

Get/set the expandable property of the Root controller.

     <CATHierarchyRoot>.BranchParent : maxObject

Contains the parent controller.

     <CATHierarchyRoot>.BranchIndex : integer

Contains the branch index.

     <CATHierarchyRoot>.BranchOwner : maxObject

Contains the Branch owner controller.

     <CATHierarchyRoot>.Weights : float

Contains the Weights subAnim.

Accessing the .controller property returns the CATHierarchyLeaf controller of the Weights track.

     <CATHierarchyRoot>.CATParent : maxObject

Contains the CATParent object.

     <CATHierarchyRoot>.PathNode (PAth_Node) : node

Get/set the Path Node used to force the CATMotion animation to follow an animated object.

     <CATHierarchyRoot>.GroundNode (Ground_Node) : node

Get/set the Ground Node used to force the CATMotion animation to run on a terrain.

     <CATHierarchyRoot>.PathFacingRatio : float

Get/set the Path facing ratio.

     <CATHierarchyRoot>.CATMotionFlags : integer

Get/set the CATMotion flags value.

     <CATHierarchyRoot>.Retargetting : float

Get/set the retargeting value.

     <CATHierarchyRoot>.ActiveLeaf : integer

Get/set the active leaf index.

     <CATHierarchyRoot>.StartTime : float

Get/set the CATMotion's Start Time value.

     <CATHierarchyRoot>.EndTime float

Get/set the CATMotion's End Time value.

     <CATHierarchyRoot>.MaxStepTime float

Get/set the max. step time value.

     <CATHierarchyRoot>.MaxStepLength float

Get/set the Max Stride Length value.

     <CATHierarchyRoot>.Direction float

Get/set the Direction value.

     <CATHierarchyRoot>.Gradient float

Get/set the Gradient value.

     <CATHierarchyRoot>.WalkMode: integer

Get/set the Walk Mode value.

Possible values are:

0 - Walk On Spot

1 - Walk On Line

2 - Walk On Path Node

     <CATHierarchyRoot>.StepEase float

Get/set the Step Ease value.

     <CATHierarchyRoot>.DistCovered float

Contains the covered distance value.

Use the .updateDistCovered() method exposed by the CATMotion Functions interface to force a refresh of the data.

     <CATHierarchyRoot>.CATMotionHub : maxObject

Contains the Rig's Hub.

## CATHierarchyRoot interfaces:

    Interface:CATMotion Functions

See Interface: CATMotion Functions for properties and methods.

#### See Also

- 3ds Max CAT and MAXScript