Upload Expression

Opacity Flash

Creates a flashing effect by rapidly changing opacity.

Code

flashFreq = 2;
flashAmp = 100;
Math.abs(Math.sin(time * flashFreq)) * flashAmp
opacityrepeatanimation

How to Use

Apply to the Opacity property to make any layer flash on and off. Great for warning indicators or blinking lights. Adjust `flashFreq` and `flashAmp` to control the frequency and intensity.