A Co Antrim man allegedly performed a sexual act “vigorously” while watching a nearby group of young children, a court heard today.