sm.gui.endFadeToBlack

Fades the screen back from a fade to black.

Kind: Function

Environments: Game

Game

sm.gui.endFadeToBlack( duration, force )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
duration number Animation duration
force (optional) boolean If true, start the fade out from full black even if there was no fade to black active. (Defaults to false)