her father, who died from cancer one day before the special aired. In 2017, Hudgens played Emily Locke on NBC's comedy series Powerless, which was based on DC Comics characters. It was cancelled after one season. That same year, Hudgens was featured on Shawn Hook's single "Reminding Me" and starred in the music video. She hosted the 2017 Billboard Music Awards with rapper Ludacris, which premiered on May 21. Hudgens also served as a permanent judge alongside Nigel Lythgoe and Mary Murphy on the 14th season of the American reality dance show So You Think You Can Dance. 2018present: Netflix deal and foray into film production In 2018, Hudgens starred in the romantic comedy film Dog Days, alongside Finn Wolfhard and Nina Dobrev. She collaborated with electronic dance music duo Phantoms on the single "Lay With Me", released in September 2018. She starred in the Netflix film The Princess Switch in November 2018, in which she portrayed both a European duchess and a pastry chef from Chicago, who temporarily switch roles. In December 2018, she co-starred opposite Jennifer Lopez in the comedy film Second Act, directed by Peter Segal. Hudgens returned for the 15th season of So You Think You Can Dance, as part of the panel of permanent judges. The same year, she essayed the role of Vanessa Morales in a production by Kennedy Center of Lin-Manuel Miranda's original musical In the Heights.In January 2019, Hudgens starred in another Fox live musical presentation, Rent: Live, as Maureen Johnson. Hudgens also co-starred with Mads Mikkelsen in the Netflix film adaption of Víctor Santos's 2013 graphic novel Polar: Came From the Cold. In November 2019, she starred in and served as a producer on the Netflix film The Knight Before Christmas. In 2020, Hudgens appeared in the third entry in the Bad Boys franchise, Bad Boys for Life, which grossed over $426 million worldwide. In November that year, she starred in and produced the Netflix film The Princess Switchs sequel, The Princess Switch: Switched Again, portraying an additional third role. By the end of the year, Hudgens hosted the MTV Movie & TV Awards: Greatest of All Time television special, which highlighted the greatest moments of film and television since the 1980s, as well as moments from past editions of the award ceremony. In 2021, she voiced the lead character, Sunny Starscout, in the animated Netflix film My Little Pony: A