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
| Name | Type |
|---|---|
| ID | integer |
| vx | float |
| vy | float |
Every form returns
nothing
Example · generated
ParticlesDirection(1, 1.0, 1.0)DO Sync()LOOPParticlesDirection 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.