# Drawstep engine · Conditions · index > Every conditions primitive (53), one line each; each name links to its page with all its fields, its minimal form and stock examples. The whole topic in one page: https://drawstep.xyz/wiki/mtg/conditions.md. - [`native`](https://drawstep.xyz/wiki/mtg/conditions/native.md) — A predicate evaluated by the engine. Engine-implemented node: `id` names an implementation the game module registers; cards contain no code, and an id the running engine … - [`kicked`](https://drawstep.xyz/wiki/mtg/conditions/kicked.md) — Kicker was paid when the source, or the triggering spell, was cast (CR 702.33). - [`bargained`](https://drawstep.xyz/wiki/mtg/conditions/bargained.md) — CR 702.166, 601.2b: the source or triggering spell was bargained; remembers the actual casting choice after the spell leaves the stack. - [`costPaidMatches`](https://drawstep.xyz/wiki/mtg/conditions/costPaidMatches.md) — CR 601.2h, 602.2b, 608.2h: exactly one object was sacrificed / discarded to pay this spell's or ability's cost and its characteristics immediately before the payment match the … - [`choseOption`](https://drawstep.xyz/wiki/mtg/conditions/choseOption.md) — CR 101.4, 608.2d: all selected players chose this option; empty selection is false. Without who reads the local/source choice; default key option. - [`guessedRight`](https://drawstep.xyz/wiki/mtg/conditions/guessedRight.md) — CR 608.2c-d: the player of an earlier `guess` in this resolution guessed right ("If they guessed right, remove Gollum from combat. Otherwise, …"). - [`triggeringOtherInZone`](https://drawstep.xyz/wiki/mtg/conditions/triggeringOtherInZone.md) — CR 603.4, 400.7: the event's other object remains in this zone with the same identity; a leave-and-return does not qualify. - [`triggeringMatches`](https://drawstep.xyz/wiki/mtg/conditions/triggeringMatches.md) — The triggering object matches this filter, using last known information (CR 608.2h). - [`triggeringAbilityKind`](https://drawstep.xyz/wiki/mtg/conditions/triggeringAbilityKind.md) — CR 603.4, 605.1a: the activated ability that triggered an activatesAbility trigger is of this kind ("if it isn't a mana ability" is nonMana). - [`compare`](https://drawstep.xyz/wiki/mtg/conditions/compare.md) — e.g. “1 is at least 1”. - [`controls`](https://drawstep.xyz/wiki/mtg/conditions/controls.md) — e.g. “you control a permanent”. - [`playerIs`](https://drawstep.xyz/wiki/mtg/conditions/playerIs.md) — CR 102.2-3, 109.5: the selected player is you or your opponent (teammates are not opponents); requires a nonempty selection, all matching. - [`isYourTurn`](https://drawstep.xyz/wiki/mtg/conditions/isYourTurn.md) — e.g. “it's your turn”. - [`isDefendingPlayer`](https://drawstep.xyz/wiki/mtg/conditions/isDefendingPlayer.md) — CR 506.2: the player (default you) is the defending player of the triggering attacking creature ("if you're the defending player"). - [`attackedThisStep`](https://drawstep.xyz/wiki/mtg/conditions/attackedThisStep.md) — CR 508.1, 508.6: you were declared attacked this declare attackers step; attacking your planeswalker or battle does not count. - [`fullParty`](https://drawstep.xyz/wiki/mtg/conditions/fullParty.md) — CR 700.8: you control four distinct creatures filling the Cleric, Rogue, Warrior and Wizard roles. - [`sourceTapped`](https://drawstep.xyz/wiki/mtg/conditions/sourceTapped.md) — e.g. “~ is tapped”. - [`sourceAttacking`](https://drawstep.xyz/wiki/mtg/conditions/sourceAttacking.md) — e.g. “~ is attacking”. - [`sourceInZone`](https://drawstep.xyz/wiki/mtg/conditions/sourceInZone.md) — CR 113.6, 400.7, 603.4: the same source incarnation remains in the specified zone, optionally owned by a selected player. - [`resolutionOrdinal`](https://drawstep.xyz/wiki/mtg/conditions/resolutionOrdinal.md) — CR 608.2: this is the Nth actual resolution of this ability this turn; includes this resolution and excludes countered abilities. - [`dayNight`](https://drawstep.xyz/wiki/mtg/conditions/dayNight.md) — It is currently day / night / neither (CR 730.1). - [`hasDesignation`](https://drawstep.xyz/wiki/mtg/conditions/hasDesignation.md) — The source has this designation (monstrous, renowned, saddled, …). - [`sourceThisTurn`](https://drawstep.xyz/wiki/mtg/conditions/sourceThisTurn.md) — The source attacked / entered / blocked / attacked or blocked / dealt combat damage this turn (or this combat). - [`sourceAbilityActivatedThisTurn`](https://drawstep.xyz/wiki/mtg/conditions/sourceAbilityActivatedThisTurn.md) — Checks whether the specified ability of this object was activated this turn. The activation counts even if the ability was countered. - [`sourceDealtDamage`](https://drawstep.xyz/wiki/mtg/conditions/sourceDealtDamage.md) — The source has dealt damage since it entered its current zone, by any means (CR 120.3, 400.7): "as long as it hasn't dealt damage yet" is this inside `not`. - [`sourceAboveInGraveyard`](https://drawstep.xyz/wiki/mtg/conditions/sourceAboveInGraveyard.md) — CR 400.7, 603.4: the source is in its owner's graveyard with cards put there after it: `direct` the card directly above it matches the filter ("with a creature card directly … - [`controlsSourcePlaneswalker`](https://drawstep.xyz/wiki/mtg/conditions/controlsSourcePlaneswalker.md) — CR 400.7: you still control the same planeswalker object this ability came from. - [`castDuringYourTurn`](https://drawstep.xyz/wiki/mtg/conditions/castDuringYourTurn.md) — CR 601.2, 608.2h: actually cast by you on your own turn, captured when cast; copies do not count. - [`castAfterExile`](https://drawstep.xyz/wiki/mtg/conditions/castAfterExile.md) — CR 702.143c, 702.170: the card was foretold/plotted immediately before casting, even if another cost was used; excludes spell copies. - [`castDuringOpponentTurn`](https://drawstep.xyz/wiki/mtg/conditions/castDuringOpponentTurn.md) — CR 601.2: you cast this during an opponent's turn, captured when cast. - [`castDuringMainPhase`](https://drawstep.xyz/wiki/mtg/conditions/castDuringMainPhase.md) — CR 601.2, 608.2h: you cast this spell during your main phase, captured when cast; uncast copies do not qualify. - [`anotherSpellCastThisTurn`](https://drawstep.xyz/wiki/mtg/conditions/anotherSpellCastThisTurn.md) — Another actual spell cast by you this turn, excluding this spell itself if it was cast. - [`castOrdinal`](https://drawstep.xyz/wiki/mtg/conditions/castOrdinal.md) — CR 601.2i: this was your Nth actual spell cast this turn (optionally creature spells only). - [`castAnotherNamedSpell`](https://drawstep.xyz/wiki/mtg/conditions/castAnotherNamedSpell.md) — CR 601.2i, 707.10: this spell's controller has cast another spell of the given name this game, including a countered spell. Putting a copy on the stack is not a cast. - [`castFrom`](https://drawstep.xyz/wiki/mtg/conditions/castFrom.md) — The source spell was cast from this zone. Set owner to you when the printed rule requires your own hand or other zone. - [`wasCast`](https://drawstep.xyz/wiki/mtg/conditions/wasCast.md) — CR 400.7, 603.4: the entering object, or the source outside an enters-trigger context, was actually cast, optionally by you; direct entries and uncast copies fail. - [`castWith`](https://drawstep.xyz/wiki/mtg/conditions/castWith.md) — The source spell was cast with this alternative cost (blitz, dash, …). - [`asCast`](https://drawstep.xyz/wiki/mtg/conditions/asCast.md) — CR 601.2i, 608.2h: the inner condition as it stood when this spell became cast ("if you controlled a Faerie as you cast this spell"); recorded as casting completes and kept by … - [`revealedToCast`](https://drawstep.xyz/wiki/mtg/conditions/revealedToCast.md) — CR 601.2b, 601.2f: the optional additional cost "reveal a [filter] card from your hand" was paid for this spell ("you revealed a Dragon card"). - [`playerHas`](https://drawstep.xyz/wiki/mtg/conditions/playerHas.md) — Player designations; completedDungeon checks completion at least once this game (CR 309.7, 701.49). - [`anyOpponent`](https://drawstep.xyz/wiki/mtg/conditions/anyOpponent.md) — True if the condition holds for any opponent. - [`anyPlayer`](https://drawstep.xyz/wiki/mtg/conditions/anyPlayer.md) — CR 608.2h: true if the condition holds for some player of `who` (default every player) with "you" rebound to that player; `all` requires every one ("if a player controls more … - [`opponentComparison`](https://drawstep.xyz/wiki/mtg/conditions/opponentComparison.md) — CR 109.5, 608.2h: compare this quantity evaluated for you against the same quantity for an opponent, or every opponent if each is true; never pool opponents' quantities. - [`phase`](https://drawstep.xyz/wiki/mtg/conditions/phase.md) — The current step/phase. beforeAttackers ends when the declare attackers step begins; combatBeforeBlockers is restricted to combat before the declare blockers step; … - [`topCard`](https://drawstep.xyz/wiki/mtg/conditions/topCard.md) — The top card of the player's library matches the filter. - [`affectedMatches`](https://drawstep.xyz/wiki/mtg/conditions/affectedMatches.md) — An object the previous effect of this resolution applied to (the back-reference behind target mode "affected") matches the filter: "If it's a land card, you may put it onto the … - [`sourceIs`](https://drawstep.xyz/wiki/mtg/conditions/sourceIs.md) — A state check on the source. - [`objectMatches`](https://drawstep.xyz/wiki/mtg/conditions/objectMatches.md) — CR 109.2, 303.4, 301.5, 611.3: current characteristics and zone of this source or the permanent it enchants/equips; battlefield by default. Does not select targets. - [`startingPlayer`](https://drawstep.xyz/wiki/mtg/conditions/startingPlayer.md) — CR 103.1: you were the starting player of this game. - [`completedDungeon`](https://drawstep.xyz/wiki/mtg/conditions/completedDungeon.md) — CR 309.7: you have completed a dungeon this game. - [`all`](https://drawstep.xyz/wiki/mtg/conditions/all.md) — Every condition holds ("if X and Y"). - [`any`](https://drawstep.xyz/wiki/mtg/conditions/any.md) — At least one condition holds ("if X or Y"). - [`not`](https://drawstep.xyz/wiki/mtg/conditions/not.md) — e.g. “it's not your turn”.