Stop in for a cup of coffee

Ok. Wise dudes, how to stop a 3yr old with a biting and hitting problem when she doesn't do it when her parents (us) are around? Go