# Disabling Traps with Triggers

![](https://4289778471-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVKw8MgRKSYbFzCqlnm%2F-MW4rkN5WrLNRM-9-4pg%2F-MW5-th7sAi7T92_t9QQ%2Fdisable%20device.PNG?alt=media\&token=2e7668a3-3ce0-4971-9bd6-ace096316a3e)

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.

![](https://4289778471-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVKw8MgRKSYbFzCqlnm%2F-MW50coGHKXPPodDgFHe%2F-MW50yyseN-k3XvekP-1%2Fdisable-example%2001.PNG?alt=media\&token=209ab43a-5564-4ca3-910f-75d0981e8582)

![In this example, the pressure plate activates the sawblade, and the touch panel disables it.](https://4289778471-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVKw8MgRKSYbFzCqlnm%2F-MW50coGHKXPPodDgFHe%2F-MW51vRLMT-EcCAHEQa2%2Fdisable%20example%2002.PNG?alt=media\&token=2d3185e7-a3d6-45d4-8775-8d1934fa9837)
