start Screen Effect

Start a displaying a built-in effect on the screen.

effects.confetti.startScreenEffect()

There are several built-in effects you can show on the screen. This will start the effect you choose. In the Blocks editor, you can select an effect from a list in the block.

Example

Start the blizzard effect on the screen. Wait 5 seconds and then stop the effect.

effects.blizzard.startScreenEffect()
pause(5000)
effects.blizzard.endScreenEffect()

See also

end screen effect