Vanessa Hudgens showcases her toned legs and flat tummy after working out with a friend

Vanessa Hudgens showcases her toned legs and flat tummy while playing it safe with a mask after working out with a friend

She joined the #wearadamnmask campaign earlier this month to promote public safety amid the ongoing coronavirus pandemic.

And Vanessa Hudgens was practicing what she preached on Wednesday as she left a workout in West Hollywood with a friend while both wore black masks.

The 31-year-old actress stayed cool in a revealing all-black ensemble that highlighted her toned and tanned figure.

Staying fit: Vanessa Hudgens, 31, showed off her tanned and toned figure in a black crop top as she departed a workout session in West Hollywood with a friend on Wednesday morning

Vanessa’s toned legs were on display in a high-waisted set of athletic shorts, which she paired with simple black trainers and olive socks.

She wore a black AMDIO crop top that was frayed around the collar and revealed her flat tummy. 

The 5ft1in Spring Breakers star had her raven tresses tied up in a high bun, and she wore a black mask dotted with tiny Playboy bunnies.

She rounded out her ensemble with a small black Valentino handbag slung over her shoulder, and she wore multiple gold bracelets and necklaces.

Stunner: Vanessa's toned legs were on display in a high-waisted set of athletic shorts, which she paired with simple black trainers and olive socks

Stunner: Vanessa’s toned legs were on display in a high-waisted set of athletic shorts, which she paired with simple black trainers and olive socks

Though Vanessa has advocated for people to wear masks in public and to take the coronavirus pandemic seriously as it surges across the US, she wasn’t always concerned about it.

Back in March, she was lambasted by fans and social media users after she called efforts to slow the spread of the novel coronavirus ‘bull****.’

She opined that people would be infected no matter what and that some deaths were simply ‘inevitable.’

The chastened actress later claimed her comments were taken out of context and apologized, saying the response was a ‘huge wake up call.’ 

Model behavior: The Spring Breakers star wore a black mask to her workout and urged her fans to '#wearadamnmask' in selfie from July 8

Model behavior: The Spring Breakers star wore a black mask to her workout and urged her fans to ‘#wearadamnmask’ in selfie from July 8

Change in tune: Back in March, she was lambasted by fans and social media users after she called efforts to slow the spread of the novel coronavirus 'bull****'

Change in tune: Back in March, she was lambasted by fans and social media users after she called efforts to slow the spread of the novel coronavirus ‘bull****’ 

‘Hey guys. I’m so sorry for the way I have offended anyone and everyone who has seen the clip from my Instagram Live yesterday,’ she tweeted.

‘I realize my words were insensitive and not at all appropriate for the situation our country and the world are in right now.

‘This has been a huge wake up call about the significance my words have, now more than ever.

‘I am sending safe wishes to everyone to stay safe and healthy during this crazy time,’ she concluded.

Whoops: After saying that deaths were 'inevitable,' she later claimed the comments were taken out of context and apologized, calling the experience a 'huge wake up call'

Whoops: After saying that deaths were ‘inevitable,’ she later claimed the comments were taken out of context and apologized, calling the experience a ‘huge wake up call’

Having a laugh: Late Tuesday night, Vanessa was feeling in a playful mood in a lip sync video posted to Instagram

Absurd: She mouthed along with a child from a popular TikTok video in which he called himself a potato, despite using a tomato face filter

Having a laugh: Late Tuesday night, Vanessa was feeling in a playful mood in a lip sync video posted to Instagram. She mouthed along with a child from a popular TikTok video in which he called himself a potato, despite using a tomato face filter

Late Tuesday night, Vanessa was feeling in a playful mood in a lip sync video posted to Instagram.

She mouthed along with a child from a popular TikTok video in which he called himself a potato, despite using a tomato face filter.

She also shared a sweet selfie with a wink and puckered lips in a white floral print blouse while ‘Sending good vibesss.’ 

Well wishing: She also shared a sweet selfie with a wink and puckered lips in a white floral print blouse while 'Sending good vibesss'

Well wishing: She also shared a sweet selfie with a wink and puckered lips in a white floral print blouse while ‘Sending good vibesss’