# Drawstep engine · Effects · `forEachCardType` > For each card type — CR 205.2a, 608.2c: "for each card type among permanents …" — the types are fixed as this starts; effects run once per type (artifact, battle, creature, enchantment, kindred, land, planeswalker) with it as the chosen card type (filter chosenType: "a permanent card of that type"). 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/effects#forEachCardType ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "forEachCardType", … }`. Steps resolve in order. Printed words that point here (search aliases): for each card type among permanents your opponents control a permanent card of that type from your hand only i know what awaits. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `among` | `{ native?: object; exclude?: any; anyOf?: ObjectFilter[]; types?: string[]; anyTypes?: string[]; subtypes?: string[]; supertypes?: string[]; colors?: string[]; notTypes?: string[]; notSubtypes?: strin …` | yes | The battlefield permanents whose card types are counted ("permanents your opponents control": { controller: "opponent" }) | | `effects` | `EffectDef[]` | yes | The effects, resolved in order (EffectDef[]) | ## Minimal form ```json {"effect":"forEachCardType","among":{"counterPlacedThisTurnBy":"you"},"effects":[]} ``` The engine reads that minimal form as: “for each card type among permanents that you've put a counter on this turn, ”. ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the steps a nested `effects` / `then` list may contain - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive