You must target two creatures as you cast Whiplash Trap. If you can't (because just one creature is on the battlefield, perhaps), you can't cast the spell.

Artwork
Loading artwork…
Whiplash Trap
Commander 2020 · #127 · EN
Nonfoil—Foil—
Card rules
If an opponent had two or more creatures enter the battlefield under their control this turn, you may pay
rather than pay this spell's mana cost.
Return two target creatures to their owners' hands.
Common · Illustrated by Zoltan Boros & Gabor Szikszai
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pioneer 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
Effects that increase or reduce the cost to cast a Trap will apply to whichever cost you chose to pay.
You can target any two creatures, not just ones that entered this turn.
Casting a Trap by paying its alternative cost doesn't change its mana cost or mana value. The only difference is the cost you actually pay.
You may ignore a Trap's alternative cost condition and simply cast it for its normal mana cost. This is true even if its alternative cost condition has been met.