fadeOut( time )

instance function

Fade the screen out to black. The screen will fade linearly over the specified time period (in seconds).

Arguments

Name Type Description
time Number The duration the fade should last