Jennifer Lopez may star as a tough detective on new NBC series Shades of Blue, but she’s still as sweet as ever when it comes to her fans.

And on Thursday the 46-year-old showed off her warm personality as she took the time during a break from filming to visit with a young fan outside the show’s Greenpoint, Queens set.

She could be seen picking up the little boy – who was carrying a DVD of her 2002 film Maid in Manhattan – and enveloping him in a big hug.

Scroll down for video 

Showing her softer side: Though she plays a tough detective on Shades of Blue, Jennifer Lopez showed off her warm personality as she greeted a young fan during a break from filming on Thursday

Showing her softer side: Though she plays a tough detective on Shades of Blue, Jennifer Lopez showed off her warm personality as she greeted a young fan during a break from filming on Thursday

Jennifer looked stylish as she greeted the boy, sporting a form-fitting light grey T-shirt, which was tucked into a pair of pinstripe trousers.

She finished off the practical yet flattering look with a pair of black, lace-up boots with a chunky heel, and accessorized with a wristwatch with a brown leather band.

At times she wore a fitted, pinstripe grey suit jacket – with the sleeves rolled up – while her short, caramel tresses were styled in wild curls that just reached her shoulders.

Making time for fans: Jennifer greeted the little boy - who carried a DVD of her 2002 film Maid in Manhattan - with a warm smile and picked him up as the two chatted

Making time for fans: Jennifer greeted the little boy – who carried a DVD of her 2002 film Maid in Manhattan – with a warm smile and picked him up as the two chatted

Say cheese! She graciously signed his DVD and later posed for a picture as well

Say cheese! She graciously signed his DVD and later posed for a picture as well

Her young fan sported a white, short-sleeved button down decorated with palm trees and designs in shades of pastel blue and pink.

The colorful shirt was coupled with a pair of grey trousers and coordinating pair of slip-on shoes, and he held tightly to his Maid in Manhattan DVD.

Jennifer had starred alongside Ralph Fiennes and Natasha Richardson in the Wayne Wang-directed movie, which depicted a Senator (Ralph) falling for a hotel maid (Jennifer), thinking she was a wealthy guest, after she had tried on one of the woman’s dresses while cleaning her room.

Breathing new life into the genre: Jennifer Lopez could be seen giving CPR while filming for her upcoming cop series Shades of Blue in New York on Thursday

Breathing new life into the genre: Jennifer Lopez could be seen giving CPR while filming for her upcoming cop series Shades of Blue in New York on Thursday

Springing into action: Jennifer's Agent Harlee did her best to try and help an injured detective in the tense scene

Springing into action: Jennifer’s Agent Harlee did her best to try and help an injured detective in the tense scene

Distressed: The actress looked anguished as the paramedics arrived to help her fallen colleague after what appeared to be a confrontation 

 

Distressed: The actress looked anguished as the paramedics arrived to help her fallen colleague after what appeared to be a confrontation

Shades of grey: The mother-of-two showed off her trim figure in a practical yet stylish suit in the scene 

Shades of grey: The mother-of-two showed off her trim figure in a practical yet stylish suit in the scene

The mother-of-two sported a warm grin as she greeted the boy, even picking him up as the two chatted, and could later be seen posing alongside him and the DVD that she had graciously signed.

That same day Jennifer was spotted putting her acting skills to the test as she filmed a tense scene with co-star Ray Liotta on set in Greenpoint, Queens.

She could be seen desperately attempting CPR on a fallen comrade after a confrontation, and then backing away in distress as paramedics arrived to take over.

In good company: Jennifer was joined onset by her co-star Ray Liotta, who wore a denim button down, olive green jacket, and fitted navy blue trousers

In good company: Jennifer was joined onset by her co-star Ray Liotta, who wore a denim button down, olive green jacket, and fitted navy blue trousers

Bad news: The performer showed off her acting chops in the dramatic scene, as the diagnosis didn't look good for her colleague 

Bad news: The performer showed off her acting chops in the dramatic scene, as the diagnosis didn’t look good for her colleague

Taking the news hard: Jennifer stood by in tears as the paramedics rushed to do their jobs in the difficult scene

Taking the news hard: Jennifer stood by in tears as the paramedics rushed to do their jobs in the difficult scene

The performer was joined in the emotional scene by co-star Ray, who donned a denim button down underneath an olive green jacket, finishing it off with a pair of fitted navy blue trousers.

Another scene had the pair filming from a high-rise building, as they looked down in anguish on two men laying on the ground below, one of whom Jennifer’s character would later rush down to aid.

Earlier that day the American Idol judge was spotted looking laid-back as she left her apartment in New York City.

All out of tears: The actress looked exhausted following the tense scene

All out of tears: The actress looked exhausted following the tense scene

Lightening the mood: Following the dramatic moment, Jennifer seemed to be in better spirits as she joked around with co-star Ray

Lightening the mood: Following the dramatic moment, Jennifer seemed to be in better spirits as she joked around with co-star Ray

There's the smile! The pair could be seen goofing around following the difficult moment