# GuiInterface.setOpenCloseEffect

Overwrites default gui effects with specified open and close effects

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
guiInterface:setOpenCloseEffect( openEffectName, closEffectName )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `gui` | [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md) | The Gui interface |
| `openEffectName` | string | The name of the open effect |
| `closEffectName` | string | The name of the close effect |
