# Drawstep engine · Conditions · `sourceAttacking` > Source attacking — e.g. “~ is attacking”. 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/conditions#sourceAttacking ## Where it goes A condition: `{ "kind": "sourceAttacking", … }` — in an `if` effect, a trigger's `condition` (intervening if), a static's `condition` ("as long as"), an activated ability's `onlyIf`, a replacement's `unless`. ## Fields No fields besides the discriminator. ## Minimal form ```json {"kind":"sourceAttacking"} ``` The engine reads that minimal form as: “~ is attacking”. ## Stock examples - **Attack Casting Ban Study** — “” ```json {"kind":"sourceAttacking"} ``` - **Camel** — “” ```json {"kind":"sourceAttacking"} ``` - **Dream Prowler** — “This creature can't be blocked as long as it's attacking alone.” ```json {"kind":"sourceAttacking"} ``` ## Related - [Conditions](https://drawstep.xyz/wiki/mtg/conditions.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive