Skip to main content

Cam::doScreenFadeOut

Fades the screen out.

duration: The time the fade should take, in milliseconds.

Syntax​

mp.game.cam.doScreenFadeOut(duration);

Required Arguments​

  • duration: int

Return value​

  • Undefined

Example​

// todo