## FxOperator.Connect

### Description

Connects the output of the FxOperator to the specified input of a destination FxOperator.

### C# Syntax

    FxOperator.Connect( FxOperator in_FxOpDest, Int32 in_nIndex );

### Scripting Syntax

    FxOperator.Connect( Destination, Index );

### Parameters

Parameter | Type | Description
--- | --- | ---
Destination | FxOperator | FxOperator to connect to
Index | Long | Index of the input to be connect to

### Examples

#### VBScript Example

    set oRoot = ActiveProject.ActiveScene.Root
    set oTree = oRoot.AddFxTree
    set oSrc = oTree.AddImageOperator("File Input")
    set oDest = oTree.AddImageOperator("BoxBlur")
    oSrc.Connect oDest, 0

### See Also

FxTree