If your commander is under the control of another player as Stinging Study resolves, it is still on the battlefield and will still be used to determine the value of X.

Artwork
Loading artwork…
Stinging Study
Commander 2021 · #44 · EN
Nonfoil—Foil—
Card rules
You draw X cards and you lose X life, where X is the mana value of a commander you own on the battlefield or in the command zone.
Silverquill first-years welcome discomfort in the classroom, knowing it will prepare them for the years ahead.
Rare · Illustrated by Kieran Yanner
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If you own multiple commanders on the battlefield and/or in the command zone, you choose one of them as Stinging Study resolves to determine the value of X.