You don’t have to choose a target for Scrollshift. However, if you do, and that permanent is an illegal target at the time Scrollshift tries to resolve, it won’t resolve and none of its effects will happen. You won’t draw a card.

Artwork
Loading artwork…
Scrollshift
March of the Machine · #34 · EN
Nonfoil—Foil—
Card rules
Exile up to one target artifact, creature, or enchantment you control, then return it to the battlefield under its owner's control.
Draw a card.
Bim lashed out with the only weapon she'd never run out of: lecture notes.
Common · Illustrated by Bram Sels
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
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School 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