# Disabling Traps with Triggers

![](/files/-MW5-th7sAi7T92_t9QQ)

To create a game object that can disable an already active trap, use a [Trigger](https://deadlydocs.runemarkstudio.com/traps/triggering-a-trap) to control player interactions.

* Assign the trap component.
* Set Action to Disable, and the cooldown greater than 0 (to avoid fast repetitive action).
* Set Tag filter to Player.
* Interaction to Key Code, usually E.&#x20;
* Set Events if you want to show or hide UI, spawn particles such as sparks or audio when the action happens.

![](/files/-MW50yyseN-k3XvekP-1)

![In this example, the pressure plate activates the sawblade, and the touch panel disables it.](/files/-MW51vRLMT-EcCAHEQa2)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://traps.runemarkstudio.com/traps/disabling-traps-with-triggers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
