> For the complete documentation index, see [llms.txt](https://traps.runemarkstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://traps.runemarkstudio.com/traps/trap-mechanism.md).

# Trap Mechanism

![This trap has two mechanisms: one for rotating the saw, the other for moving it along the slot.](/files/-MW54IrhTT5RZDmZwWX-)

These components define how the trap works: moving, rotating using physics or particles, and launching projectiles.

You can use multiple mechanisms in a single trap. Putting them together as parent-child will result in a more complex trap.&#x20;

![](/files/-MVKyumnmTJzVNau29dD)

* **Play Mode:** After activation, the mechanism executes itself once only, or as a loop until the deactivation happens.
* **Cooldown:** Seconds before the mechanism can reactivate.  0 means no cooldown.
* **Reset on Finish:** This only available in Only Once play mode.&#x20;
* **Effects:** A list of rules that controls effects. Assign an [**Effect Handler**](/traps/effect-handlers/custom-effect-handler.md) to call a selected command on it when an Event happens.
* **Command:** what should the effect handler do when the selected event happens.

{% content-ref url="/pages/-MVKyxvpXSAweFWXBLb5" %}
[Animator](/traps/trap-mechanism/trap-animator.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MVKzToDoQzN63ojngVQ" %}
[Launcher](/traps/trap-mechanism/trap-launcher.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MVKzt-8YYDl1dSFaJPN" %}
[Particle (Trap Mechanism)](/traps/trap-mechanism/particle.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MVKzwglKVhlkqIKkBLW" %}
[Physics](/traps/trap-mechanism/physics.md)
{% endcontent-ref %}
