# Effect.setOffsetPosition

Offsets the position of the effect relatively to the host.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
effect:setOffsetPosition( offsetPosition )
```

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

**Availability:** Client only

> **Note:**
> Does not work if the effect was created without a host.

**Parameters:**

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