# ParticlesComponent

> Talos 0.6 · Since 0.6

## Signature

```ts
export interface ParticlesComponent {
  type: "particles"
  preset: ParticlePreset
  rate: number
  color?: string
  /** A key of scene.assets whose kind is "material": a material file with a `shader` the sprites draw with, on both renderers. */
  material?: string
}
```

Import: `import type { ParticlesComponent } from "@argus/gameplay"`

## Members

| Member | Signature | Description |
|---|---|---|
| `type` | `type: "particles"` |  |
| `preset` | `preset: ParticlePreset` |  |
| `rate` | `rate: number` |  |
| `color` | `color?: string` |  |
| `material` | `material?: string` | A key of scene.assets whose kind is "material": a material file with a `shader` the sprites draw with, on both renderers. |
