A newfound parenting hack!

Joseph Gordon-Levitt is sharing a new hack for all those parents out there trying to find more ways to keep those little ones entertained as we continue to social distance during the global pandemic.

In an interview with People, the 39-year-old actor is celebrating life with his wife Tasha McCauley and their two sons, making time every day to bust a move!

MORE ON QUARANTINE CELEB PARENTS: PRINCE WILLIAM OPENS UP ABOUT HOMESCHOOLING DURING LOCKDOWN

"I dance every day with my kids," he shared.

"Right now they're really into Gene Kelly, and Gregory Hines, two of the all-time greats," he continued.

"What's fantastic is my boys can't tell how mediocre a dancer I really am," Gordon-Levitt joked.

"They think I'm just another one of those legends," he says of his 3-year-old and 4 1/2-year-old sons.

DON'T MISS: THESE ARE JOSEPH GORDON-LEVITT'S BEST ROLES!

"Soon enough, they'll learn the truth, but for now, it's pure glory," he added.

The HITRECORD founder shares that his family still heads outside at 8 p.m. to thank the frontline workers doing their best to fight off the pandemic.

He shared, "In my family, we never stopped doing it. We do it every night. It's 'thank-you time.'" 

RELATED: '3RD ROCK FROM THE SUN' - WHERE IS THE CAST NOW?

"I think this should become a permanent worldwide ritual. It never hurts to focus on gratitude," he concluded.

The actor appears in Amazon's latest film, 7500.