# Effect.setPosition

Sets the position of an effect.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
effect:setPosition( position )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Effect.md#setposition)

**Availability:** Client only

> **Note:**
> Does not work if the effect has a host.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `effect` | [Effect](../Game-Script-Environment/Userdata/Effect.md) | The effect. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The position. |
