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
String
Table<Artboard>
Table<Color>
Table<Graphic>
Table<Raster>
Table<Vector>
Transform
Vec2
bool
f32
f64
u32
u64
If False

Exposed to the Graph by Default

GradientStops
String
Table<Artboard>
Table<Color>
Table<Graphic>
Table<Raster>
Table<Vector>
Transform
Vec2
bool
f32
f64
u32
u64

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