Serena Williams and Lisa Leslie in On-Court Dance-Off Set to Cardi B

Serena Williams and Lisa Leslie got money moves!

The new mom and the WNBA legend showed off their dance skills during Tuesday’s Desert Smash at La Quinta Resort at the Indian Wells Tennis Garden.

Williams and Leslie engaged in a dance-off right on the court — set to Cardi B‘s “Bodak Yellow”— with fellow tennis star Victoria Azarenka on the other side.

The event was raising money for good causes, including the Yetunde Price Resource Center in Serena’s home city, Compton, which was named after her late sister.