ParticlesPosition

Family: Particles · One form

What it does

ParticlesPosition sets Position on a Particles object. It takes ID (an integer), x (a float) and y (a float), and returns nothing.

Syntax

ParticlesPosition(ID integer, x float, y float)

Parameters

NameType
IDinteger
xfloat
yfloat

Every form returns

nothing

Example · generated

ParticlesPosition(1, 100.0, 120.0)DO  Sync()LOOP

ParticlesPosition 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