Skip to content

Fade Effect

Displays a fullscreen color overlay with a fade-in and fade-out transition.

Syntax

fade %fadeInValue% %stayValue% %fadeOutValue% %color%

Parameters

  • %fadeInValue% (float): Time in seconds for the screen to fade in.
  • %stayValue% (float): Time in seconds the screen remains fully opaque.
  • %fadeOutValue% (float): Time in seconds for the screen to fade out.
  • %color% (string): Hexadecimal color code.

Example

fade 1.5 2.0 1.5 000000
Fades to black in 1.5 seconds, stays for 2 seconds, then fades out over 1.5 seconds.