## FxOperator.Disconnect

### Description

Disconnects the specified input of the FxOperator.

### C# Syntax

    FxOperator.Disconnect( Int32 in_nIndex );

### Scripting Syntax

    FxOperator.Disconnect( Index );

### Parameters

Parameter | Type | Description
--- | --- | ---
Index | Long | Index of the input to disconnect

### Examples

#### VBScript Example

    set oRoot = ActiveProject.ActiveScene.Root
    set oTree = oRoot.AddFxTree
    set oSource = oTree.AddImageOperator("LowPassFilter")
    set oDest = oTree.AddImageOperator("HighPassFilter")
    oSource.Connect oDest, 0
    LogMessage "IsConnected: " & oDest.IsConnected(0)
    oDest.Disconnect 0
    LogMessage "IsConnected: " & oDest.IsConnected(0)

### See Also

FxOperator.IsConnected FxTree