Three youths sipping cold drinks on a Gold Coast rooftop received a late-night fright when they were ordered down by the police helicopter loudspeaker and told officers had surrounded the building.

In return for their exploits on Saturday, the trio were charged with trespassing and breaching novel coronavirus restrictions –the latter came with a $1334 fine.

It will be alleged the three accused - aged 19, 20 and 21 - were on the roof of a building on Jefferson Lane in Palm Beach about 11.20pm when they were hailed by a booming voice.

"This is the police, this is the police. To the three people sitting on the building rooftop. Yes, we can see you – the one with the hoodie in the middle with your cold drinks," the PolAir officer said.