What it does
AddParticlesForce adds Force on a Particles object. It takes ID (an integer), starttime (a float), endtime (a float), x (a float) and y (a float), and returns nothing.
Syntax
AddParticlesForce(ID integer, starttime float, endtime float, x float, y float)Parameters
| Name | Type |
|---|---|
| ID | integer |
| starttime | float |
| endtime | float |
| x | float |
| y | float |
Every form returns
nothing
Example · generated
AddParticlesForce(1, 1.0, 1.0, 100.0, 120.0)DO Sync()LOOPAddParticlesForce 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.