# Effect.detach

Detaches the effect from its host object.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Client only

**Parameters:**

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