If you choose to pay 1 as Ancestral Katana's ability resolves, a second triggered ability triggers and players may respond to it. Then, as that second ability resolves, Ancestral Katana becomes attached to the creature that attacked alone.

Artwork
Loading artwork…
Ancestral Katana
Kamigawa: Neon Dynasty · #1 · EN
Nonfoil—Foil—
Card rules
Whenever a Samurai or Warrior you control attacks alone, you may pay 1. When you do, attach this Equipment to it.
Equipped creature gets +2/+1.
Equip 3 (3: Attach to target creature you control. Equip only as a sorcery.)
Common · Illustrated by Daniel Ljunggren
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School 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
A creature attacks alone if it's the only creature declared as an attacker during the declare attackers step. For example, Ancestral Katana's triggered ability won't trigger if you attack with multiple creatures and all but one of them are removed from combat.