setOptions
Set the particle effect options.
Syntax
particles.setOptions(options, respawn);
Parameters
| Name | Type | Description |
|---|---|---|
options | ParticlesOptions | The options for the particles effect. |
respawn (optional) | boolean | Whether to respawn the particles. Default: false. |
Example
particles.setOptions(
{
color: 'red',
},
true,
);
Available on: Client