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

# GetMasterController() Method

| Animation Controllers - Quick Navigation

The GetMasterController method lets you get the mastercontroller of a system. It is available in 3ds Max 9 and higher.

    GetMasterController <System>

Returns the master controller of a system (for example RingArray, Sunlight System etc.)

EXAMPLE
    --First create a Sunlight Systemusing the UI.
    --Then get its master controller:
    theMaster = GetMasterController $Sun01
    ReferenceTarget:Sunlight
    show theMaster
    .Solar_Time : integer
    .Solar_Date : float
    .Latitude : float
    .Longitude : float
    .Orbital_Scale : float
    false

#### See Also

- Controller Common Properties, Operators, and Methods

- Animation Controllers