# Drawstep engine · Triggers · `attacksAlone` > Attacks alone — A creature attacked alone. 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#attacksAlone ## Where it goes The `trigger` of a triggered ability: `{ "kind": "triggered", "trigger": { "event": "attacksAlone", … }, "effects": [ … ] }`. The common trigger fields (`filter`, `by`, `other`, `condition`, `damageKind`, `oneOrMore` …) are on the triggers page. ## Fields No fields besides the discriminator. ## Stock examples - **Derelict Attic** — “When you unlock this door, you draw two cards and you lose 2 life.” ```json {"event":"attacksAlone","filter":{"types":["Creature"],"controller":"you"}} ``` - **Norika Yamazaki, the Poet** — “Whenever a Samurai or Warrior you control attacks alone, you may cast target enchantment card from your graveyard this turn.” ```json {"event":"attacksAlone","filter":{"subtypes":["Samurai","Warrior"],"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