Color Snap Reaction

Snaps the layer's color to a few defined values when reacting to triggers.

Code

colors = [[1,0,0,1],[0,1,0,1],[0,0,1,1],[1,1,0,1]];
idx = Math.floor(time) % colors.length;
colors[idx]
colorsnapreactive effectanimation

How to Use

Apply to a Color property (like a Shape Fill) to cycle through an array of color values at every integer second. Adjust the array to your preference.