In this rule

Historical Rules · 16 January 2026

Rule 508.2a

Official source text from the 16 January 2026 Rules release

Permalink

Abilities that trigger on a creature attacking trigger only at the point the creature is declared as an attacker. They will not trigger if a creature attacks and then that creature’s characteristics change to match the ability’s trigger condition. Example: A permanent has the ability “Whenever a green creature attacks, destroy that creature at end of combat.” If a blue creature attacks and is later turned green, the ability will not trigger.

Find this number in the current Rules