ParticlesDirection

Family: Particles · One form

What it does

ParticlesDirection sets Direction on a Particles object. It takes ID (an integer), vx (a float) and vy (a float), and returns nothing.

Syntax

ParticlesDirection(ID integer, vx float, vy float)

Parameters

NameType
IDinteger
vxfloat
vyfloat

Every form returns

nothing

Example · generated

ParticlesDirection(1, 1.0, 1.0)DO  Sync()LOOP

ParticlesDirection 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