PostEffect

Family: World · One form

What it does

PostEffect takes effect (a string), enabled (an integer) and intensity (a float), and answers an integer.

Syntax

PostEffect(effect string, enabled integer, intensity float) → integer

Parameters

NameType
effectstring
enabledinteger
intensityfloat

Every form returns

integer

Example · generated

DO  Print(PostEffect("value", 1, 1.0))  Sync()LOOP

PostEffect is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

Related commands

40 commands in World