In this rule

Historical Rules · 20 November 2020

Rule 700.2a

Official source text from the 20 November 2020 Rules release

Permalink

The controller of a modal spell or activated ability chooses the mode(s) as part of casting that spell or activating that ability. If one of the modes would be illegal (due to an inability to choose legal targets, for example), that mode can’t be chosen. (See rule 601.2b.)

Find this number in the current Rules