A teenager serving time in youth detention for a burglary has avoided going to adult prison for taking part in an Apex-linked home invasion while out on bail.

Bill Tang, 19, was on bail for a number of crimes, including aggravated burglary, when he went with five other friends to a Brighton East house in the early hours of April 23, the County Court heard on Wednesday.

Bill Tang joined five other youths in a home invasion in East Brighton.

Prosecutors previously told the court that a photo of a car with the name of teenage gang Apex spelled out in cash on the bonnet was found in the police investigation into the home invasion.

Some of the other members of the group entered, armed with beach umbrella poles they had taken from the side of the house.