> For the complete documentation index, see [llms.txt](https://fast-studios.gitbook.io/press-e/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fast-studios.gitbook.io/press-e/manual/scripting/interaction-manager/interactionmanager.destroykey.md).

# InteractionManager.DestroyKey

Destroys the given **Key** object and **removes it** from `ObtainedKeys`.

```csharp
public Key ObtainedKey;

void DestroyMyKey()
{
    InteractionManager.singleton.DestroyKey(ObtainedKey);
}
```
