# Drawstep engine · Triggers · `specializes` > Specializes — Whenever a permanent specializes (Alchemy). 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#specializes ## Where it goes The `trigger` of a triggered ability: `{ "kind": "triggered", "trigger": { "event": "specializes", … }, "effects": [ … ] }`. The common trigger fields (`filter`, `by`, `other`, `condition`, `damageKind`, `oneOrMore` …) are on the triggers page. ## Fields No fields besides the discriminator. ## Stock examples - **Klement, Death Acolyte** — “When this creature specializes, create two 2/2 black Zombie creature tokens.” ```json {"event":"specializes","filter":{"self":true}} ``` - **Wyll of the Fey Pact** — “When this creature specializes, you may sacrifice another creature or an artifact. If you do, Wyll of the Fey Pact perpetually gets +3/+3 and gains trample.” ```json {"event":"specializes","filter":{"self":true}} ``` - **Wyll of the Elder Pact** — “When this creature specializes, you may sacrifice another creature or an artifact. When you do, return target instant or sorcery card from your graveyard to your hand.” ```json {"event":"specializes","filter":{"self":true}} ``` ## 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