A creature attacks alone if it's the only creature declared as an attacker during the declare attackers step. For example, Norika Yamazaki's triggered ability won't trigger if you attack with multiple creatures and all but one of them are removed from combat.

Artwork
Loading artwork…
Norika Yamazaki, the Poet
Kamigawa: Neon Dynasty · #31 · EN
Nonfoil—Foil—
Card rules
Vigilance
Whenever a Samurai or Warrior you control attacks alone, you may cast target enchantment card from your graveyard this turn.
3/2
"The blades will have their say, but peace is built with words."
Uncommon · Illustrated by Magali Villeneuve
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You must still follow all normal timing rules and pay all costs for the enchantment card you cast this way.