Switch

Evaluates either the "If True" or "If False" input branch based on whether the input condition is true or false.

Interface

Inputs

ParameterDetailsPossible Types
Condition

Primary Input

bool
If True

Exposed to the Graph by Default

GradientStops
Table<Artboard>
Table<Color>
Table<Graphic>
Table<Raster>
Table<Vector>
bool
f32
f64
string
transform
u32
u64
vec2
If False

Exposed to the Graph by Default

GradientStops
Table<Artboard>
Table<Color>
Table<Graphic>
Table<Raster>
Table<Vector>
bool
f32
f64
string
transform
u32
u64
vec2

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

string
bool
f32
f64
u32
u64
vec2
transform
Table<Artboard>
Table<Graphic>
Table<Vector>
Table<Raster>
Table<Color>
GradientStops