Actress Becky G has said she is “so proud” to play the first gay superhero in a blockbuster film.

Power Rangers, which comes out today, includes a subplot in which the Yellow Ranger, one of the main characters, struggles with her relationship with another girl in the film’s second act.

The Yellow Ranger, whose non-superhero name is Trini, eventually comes to terms with her sexual orientation and is accepted by all the other characters.hqdefault (1)

Speaking to her fans via live-streaming app Periscope, Becky G, a singer and actress who is appearing in her first feature-length film, said the character was “special to me.”

She added: “When everyone meets Trini, they will love her, because she’s definitely different and special in her own way.

“What this movie represents is diversity, and that life is so much better with it being more colourful rather than black-and-white – and I think it’s a story that’s a true reflection of the audience that’s going to be watching the movie.”

She said she wanted to talk directly to fans about “about Trini being a representative for the LGBTQ+ community,” because it was really important to her.

“It was something we wanted to make sure was very present in her story…and that felt really authentic, because the truth is, it’s the story of a lot of people out there.”

Becky G, whose song Shower went double-platinum, said she hoped audiences would empathise with her character.

“With Trini, I wanted to make it feel like you guys are embarking on this journey of self-discovery with her. Figuring out who you are isn’t easy, and I feel like for her in this movie, that first step is self-acceptance, and surrounding herself with the right people.

“She finally finds herself in a place where she’s comfortable enough to deal with this inner conflict, these issues she’s been having, because she really feels like she’s different.”

She added: “The fact that she can rely on four other amazing people who are all different in their own way and feel like she’s accepted is huge, and I think that’s a really groundbreaking moment.

“I want people to know that means a lot to me, to be playing and portraying someone in this story who comes from that place.”

Trini, who is played by singer and actress Becky G, follows a relatively recent shift towards writing gay characters into superhero films and TV shows.

Deadpool, whose film came out last year, is pansexual, while Supergirl, Arrow and Legends of Tomorrow – all on US TV channel CW – all feature a gay character. The coming out storyline of Alex Danvers, Supergirl’s adoptive sister, this season prompted a hugely positive reaction from fans and the LGBT community.

And of course, the news comes on the heels of Beauty and the Beast featuring the first ever explicitly gay Disney character, Le Fou.