Select

Function
The Select function, located in the Other tool tab, allows you to select between multiple inputs. This function can be useful when you want to switch between different compositing logic over time, or when you have “doubles” that you want to insert. For example, you can switch a blue screen character with a CG replacement using the Select node. In the following simple example, you can specify if the asteroid is in front or behind the Earth by putting two different Over operations into Select and toggling between the two operations.

Earth,

Asteroid

OverA,

OverB

Select has an infinite amount of potential inputs.


Synopsis

image Select( 
 int branch,
 image,
 image,
...
);


Script

image = Select( branch, image, image,...);


Command Line

shake -select branch image image ....