> For the complete documentation index, see [llms.txt](https://idontgiveaf.gitbook.io/fluent/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://idontgiveaf.gitbook.io/fluent/elements/guide/destroying-elements.md).

# Destroying Elements

To destroy any element, put it in a variable.

```lua
local variable = -- add element
```

Then, destroy it using this functions.

```lua
variable:Destroy()
```
