# Drawstep engine · Triggers · `destroyed` > Destroyed — Whenever a permanent is destroyed — by an effect or by lethal damage (CR 701.8a, 704.5g) — looking back at it on the battlefield; `causedBy: "opponent"` for "a spell or ability an opponent controls destroys …" (its controller is the selector `causeController`). Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/triggers#destroyed ## Where it goes The `trigger` of a triggered ability: `{ "kind": "triggered", "trigger": { "event": "destroyed", … }, "effects": [ … ] }`. The common trigger fields (`filter`, `by`, `other`, `condition`, `damageKind`, `oneOrMore` …) are on the triggers page. ## Fields No fields besides the discriminator. ## Stock examples - **Destruction Witness** — “Whenever a spell or ability an opponent controls destroys a noncreature permanent you control, you may destroy target permanent that opponent controls.” ```json {"causedBy":"opponent","event":"destroyed","filter":{"notTypes":["Creature"],"controller":"you"}} ``` ## Related - [Triggers](https://drawstep.xyz/wiki/mtg/triggers.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive