## GetMaster

### Introduced

v3.0

### Description

Returns the master of an instance.

### Scripting Syntax

    oReturn = GetMaster( InputObjs );

### Return Value

Returns an XSICollection object that contains the master of the input instance.

### Parameters

Parameter | Type | Description
--- | --- | ---
InputObjs | String | Find master of this Instance Default Value: Current selection

### Examples

#### VBScript Example

    dim master

    GetPrim "Cone", "MyCone"

    CreateModel "MyCone"

    Instantiate , , 1, 1, 0, 1

    set InstanceObj = GetInstances( "Model" )(0)

    set master = GetMaster( InstanceObj )

    LogMessage "MyCone's master: " & master

    InspectObj master

### See Also

Instantiate SIInstantiate GetInstances