Olivia Wildeloved having her little girl be a part of her upcoming film,Don’t Worry Darling.

The actress and director, 38, appeared on Wednesday night’s episode ofThe Late Show with Stephen Colbertwhere she chatted about her 5-year-old daughter Daisy’s role in the highly anticipated film.

Daisy, whom Wilde shares with exJason Sudeikis, plays Wilde’s daughter in the movie, which Wilde told Colbert “she was very good” at.

“There are many funny lines of you yelling at your children off camera, going ‘Don’t do that! Don’t hit her.’ Was that a natural way you would speak to your children?” Colbert asked the mom of two.

“I was a little meaner in the movie than I would be to her,” Wilde said. “It was like the drunk 1950s version of me I guess.”

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

The Late Show with Stephen Colbert

Olivia Wilde Stephen Colbert

Wilde, who is also mom to 8-year-old son Otis, went on to share that it was “really great” to have Daisy on set with her.

Wilde first revealed Daisy would appear during her cover story interview forVanity Fair’s October issue. She also discussed what it was like both acting and directing in the film, revealing that daughter Daisy would make a cameo in the film during a pool scene where she was directing while in a bikini.

“I was already dealing with that,” she said, but Daisy’s arrival on set added to her load. She soon found herself performing all her usual tasks with her kindergartener on her hip.

“I was like, ‘I wonder if this experience is slightly different for men?’ " she said of the moment.

Writer-producer Kate Sillburn toldVanity Fairthat seeing Wilde on set directing with Daisy was a powerful moment.

“When I was little and I pictured a director in my head, it was always a man with a beard and glasses in a jean jacket with a bullhorn,” she said. “Watching Olivia on the set, I was like, ‘Oh, this is the image of a director that my daughter’s going to have — this really talented, powerful, beautiful woman with her own daughter on her hip directing and leading all of these men and women on this set that she was so empathetically in charge of.’ "

source: people.com