List Mask In


This node use the mask list i.e. 1,0,0,0 as switch to mix two data list together.

0 means false, an item from the Data False will be appended to the output data;

1 will be considered as true (actually any value that evaluate as true in python), an item from the Data True will be appended to the output data. If the mask list is not long enough to cover all the inputs, it will be repeated as the mask for the rest of inputs.

Length of mask list affect output because every item (without Choice activated) corresponding to Inputs several times.

The main design reason behind this node is to be able to conditionally apply operations to one a masked list, for example select vertices based on location and move them or as shown below, select numbers and negate them.


Mask: Input socket for mask list.

Data True: Input socket for True Data list.

Data False: Input socket for False Data list.


Level: Set the level at which the items to be masked.

Choise: Make length of out list the same as length of input list


Data: Mixed data of the incoming data, the length of Outputs depends on the Data True and Data False list length.


ListMaskDemo.PNG Masked apply