## FxOperator.GetConnectedOperator

### Description

Returns the FxOperator object connected to the specified input connection.

### C# Syntax

    FxOperator FxOperator.GetConnectedOperator( Int32 in_nIndex );

### Scripting Syntax

    oReturn = FxOperator.GetConnectedOperator( Index );

### Return Value

FxOperator

### Parameters

Parameter | Type | Description
--- | --- | ---
Index | Long | Index of the input connection

### Examples

#### VBScript Example

    set oRoot = ActiveProject.ActiveScene.Root
    set oTree = oRoot.AddFxTree
    set oFxOp = oTree.AddImageOperator("Noise")
    set oSource = oTree.AddImageOperator("HighPassFilter")
    oSource.Connect oFxOp, 0
    LogMessage oFxOp.GetConnectedOperator(0).Name & " is connected to input 0"

### See Also

FxTree