## FxOperator.IsConnected

### Description

Returns true if the FxOperator has the specified input connected.

### C# Syntax

    Boolean FxOperator.IsConnected( Int32 in_nIndex );

### Scripting Syntax

    oBoolean = FxOperator.IsConnected( Index );

### Return Value

Boolean

### Parameters

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

### Examples

#### VBScript Example

    set oRoot = ActiveProject.ActiveScene.Root

    set oTree = oRoot.AddFxTree

    set oFxOp = oTree.AddImageOperator("Noise")

    LogMessage "IsConnected: " & oFxOp.IsConnected(0)

    set oSource = oTree.AddImageOperator("HighPassFilter")

    oSource.Connect oFxOp, 0

    LogMessage "IsConnected: " & oFxOp.IsConnected(0)

### See Also

FxTree