Jennifer Lopez and Vanessa Hudgens are starring in the upcoming film Second Act.

JENNIFER LOPEZ & VANESSA HUDGENS FILM IN NEW YORK

The duo was spotted in New York City in character, filming scenes for the flick. Lopez, 48, wore a large red coat over a black turtleneck and checkered brown pants, while Hudgens, 28, wore a navy wool dress and matching hat. They chatted and laughed between takes.

A later scene saw the actresses in Central Park. Lopez, in a dark green dress and black coat, presented an item to an audience. Hudgens, who was a member of the audience, wore a cream coat, black and white pinstripe pants, and a furry scarf.

My office today… #centralpark #NYC #autumnalvibes

A post shared by Jennifer Lopez (@jlo) on

Second Act is set to hit theaters in 2018, and follows a big box store worker (Lopez) who changes her life for the better to show Madison Avenue what she is capable of. The romantic comedy also stars Milo Ventimiglia as Lopez’s longtime boyfriend. The film is being directed by Peter Segal.

Leah Remini is also attached to the project, and will play the best friend of Lopez’s character. Hudgens plays an executive at the consumer goods company. Dan BucatinskyAnnaleigh Ashford, and Freddie Stroma fill out the remaining characters.