ComfyUI Node
Mask Input Switch JK๐
Switch between two mask inputs based on boolean condition
Mask Input Switch JK๐
- mask_false
- mask_true
- mask_output
- boolean
โboolean_valuefalseโบ
Category๐ JK/๐ Switch
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| boolean_value | BOOLEAN | false | Condition to select between inputs (True=mask_true, False=mask_false) |
| mask_false | MASK | Mask to return when condition is False | |
| mask_trueopt | MASK | Mask to return when condition is True (optional) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mask_output | MASK | โ |
| boolean | BOOLEAN | โ |