What it does
AddParticlesColorKeyFrame adds ColorKeyFrame on a Particles object. It takes ID (an integer), time (a float), red (an integer), green (an integer), blue (an integer) and alpha (an integer), and returns nothing.
Syntax
AddParticlesColorKeyFrame(ID integer, time float, red integer, green integer, blue integer, alpha integer)Parameters
| Name | Type |
|---|---|
| ID | integer |
| time | float |
| red | integer |
| green | integer |
| blue | integer |
| alpha | integer |
Every form returns
nothing
Example · generated
AddParticlesColorKeyFrame(1, 1.0, 255, 128, 128, 255)DO Sync()LOOPAddParticlesColorKeyFrame 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.