Since her 2014 divorce from Marc Anthony, Jennifer Lopez has been dating Casper Smart — and thankfully, her ex-husband and boyfriend get along great!

In a candid new interview, the 46-year-old star opened up about balancing her relationships with both Marc and Casper while still making her two kids, twins Max and Emme, both 8, her No. 1 priority.

jennifer lopez marc anthony casper smart getty images

Jennifer and Marc (left) and Jennifer and Casper (right).

“[Balancing everything is] a full time job… It’s my first job to [ensure my children are happy], to make sure [they’re] okay, or else I couldn’t do all the other things I do,” Jennifer said during a joint interview with People and Entrainment Weekly.

RELATED: Jennifer Lopez Gets Candid About Her Past Relationships — Find Out What She Revealed!

Jen added both her ex-husband Marc and boyfriend, Casper, are a “big part” of keeping her kids happy. “My relationship with them, our references are always in reference to the kids. What’s best for them, what’s good for them, let’s talk this way in front of them… You know what I mean? Once they’re happy, they just add happiness and joy into the home and then everything else kind of goes from there,” she said.

jennifer lopez twins getty images

Jennifer with Max and Emme in March 2015.

Jennifer and Marc, 47, married in June 2004 and welcomed Max and Emme in February 2008. After the former couple split — and later finalized their divorce in 2014 — Jen began dating Casper, 28, in October 2011 and the two have been an item ever since!