# sm.particle.createParticle

Create a particle effect at a given position and rotation.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.particle.createParticle( particle, position, rotation?, color? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.particle.md#createparticle)

**Availability:** Client only

> **Note:**
> If you start a looping particle effect through this method then the only way to get rid of it is by reloading the save.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `particle` | string | The particle name. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The position. |
| `rotation` *(optional)* | [Quat](../Game-Script-Environment/Userdata/Quat.md) | The rotation. (Defaults to no rotation) |
| `color` *(optional)* | [Color](../Game-Script-Environment/Userdata/Color.md) | The blend color. (Defaults to white) |
