The 27-year-old, who rose to fame after the “High School Musical” series, will be featuring as a 23-year-old DJ Cole in the film.
His character finds his way in the world through nightclubs as an aspiring DJ.
Talking about it, he said: “Cole is starting to realise that he’s not truly himself when he’s around his friends, He’s got their unconditional love, but he’s not following his heart.
“It’s when he’s behind the decks that a sense of freedom and purity comes out, when he feels at one with everyone around him. Music is really a uniting force and a DJ is the person who is at the helm of that, which is really cool,” Efron said in a statement.
“We Are Your Friends” will be released by PVR Pictures in India on the September 11.