# Drawstep engine · Conditions · `any` > Any — At least one condition holds ("if X or Y"). 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#any ## Where it goes A condition: `{ "kind": "any", … }` — 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 | Field | Type | Required | Description | |---|---|---|---| | `conditions` | `ConditionDef[]` | yes | The conditions combined | ## Minimal form ```json {"kind":"any","conditions":[]} ``` ## Stock examples - **Desperate Futurescribe** — “At the beginning of combat on your turn, another target creature you control gets +1/+1 until end of turn. If you've scried or surveilled this turn, put a +1/+1 counter on that creature instead.” ```json {"kind":"any","conditions":[{"kind":"compare","a":{"kind":"thisTurn","event":"scried","who":"you"},"op":">=","b":1},{"kind":"compare","a":{"kind":"thisTurn","event":"surveilled","who":"you"},"op":">=","b":1}]} ``` - **Prized Amalgam** — “Whenever a creature enters, if it entered from your graveyard or you cast it from your graveyard, return this card from your graveyard to the battlefield tapped at the beginning of the next end step.” ```json {"kind":"any","conditions":[{"kind":"triggeringMatches","filter":{"owner":"you","enteredFrom":"graveyard"}},{"kind":"all","conditions":[{"kind":"wasCast","by":"you"},{"kind":"triggeringMatches","filter":{"owner":"you","castFrom":"graveyard"}}]}]} ``` - **Sproutwatch Dryad** — “At the beginning of each combat, Sproutwatch Dryad gains flying until end of turn if a creature you control or a card in your hand has flying. The same is true for first strike, double strike, deathtouch, haste, hexproof, indestructible, lifelink, menace, reach, trample, and vigilance.” ```json {"kind":"any","conditions":[{"kind":"controls","who":"you","filter":{"types":["Creature"],"withKeyword":"Flying"},"min":1},{"kind":"compare","a":{"kind":"count","zone":"hand","filter":{"withKeyword":"Flying"},"player":"you"},"op":">=","b":1}]} ``` ## 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