The hunky star was seen getting amorous with co-star Wes Bentley on the set of We Are Your Friends on Saturday.
However, Neighbors star Zac, 26, was just joking around with 36-year-old American Beauty star Wes as the duo shot a scene in a DJ booth for the upcoming movie.
Scroll down for video
Zac plays aspiring DJ Cole Carter in the drama where he is mentored by Wes's character - an older DJ named James.
And the High School Musical actor looked very much the part, standing on stage ready to take over the decks and donning a pair of headphones.
He could be seen in a sheer charcoal grey T-shirt which showed a glimpse of his toned torso as the sunlight hit the material.
Meanwhile handsome Wes could be seen sporting a beard and dressed in a white T-shirt with denim shirt layered over the top.
The acting pair looked like siblings as they messed around on stage, with prankster Zac coming up behind Wes and putting him in an affectionate headlock.
The duo were also joined behind the decks by documentary filmmaker Max Joseph who co-wrote and is also directing the flick.
The film also stars Emily Ratajkowski, made famous for her topless turn in Robin Thicke's Blurred Lines.
Emily plays James' girlfriend Sophie who forms a love triangle with a conflicted Cole.
The Lucky One star posted an Instagram picture showinghim in front of the DJ controls and captioned: 'What up my friends! #wayf #weareyourfriends #onset' and also tagged LA DJ Dillon Francis as well as Swedish electro music producer Alesso.
We Are Your Friends is scheduled for release in 2015.