FixParticlesToScreen

Family: Particles · One form

What it does

FixParticlesToScreen pins ToScreen on a Particles object. It takes ID (an integer) and mode (an integer), and returns nothing.

Syntax

FixParticlesToScreen(ID integer, mode integer)

Parameters

NameType
IDinteger
modeinteger

Every form returns

nothing

Example · generated

FixParticlesToScreen(1, 1)DO  Sync()LOOP

FixParticlesToScreen is called with values of the types its signature asks for. 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.

38 commands in Particles