Kids at that age hit. Even only children who have not yet experienced it at home will start once they get into social situations with peers. Not every child will go through it but the majority do. After a few weeks of discipline it should get better, but it may still happen periodically. If there is a particular child struggling with the issue it could happen more frequently and could last a year or more in any particular child depending on the discipline used at home and consistency both in and out of of social situations. As a teacher you can't predict when the kids will start hitting, so there really is nothing to do before it happens, just manage it when it does happen. As a teacher they are busy doing activities and teaching and playing, etc. They can't be standing there trying to predict when or if a child will hit. Now being it is your child getting hit, I fully understand your feelings, no parent wants to see their child hurt. Unfortunately if you want to keep her in that class you may have to let her cope with it, using it as a teaching tool for her, by talking with her, helping her to know how she should respond, and how to get appropriate help, and even teaching her about how to recognize a situation that is escalating, not an easy task for a 2 year old but a great learning opportunity for practice in it. But if the situation is continuing and you do not want her exposed to it continuing then your options are to move her to a different class if they have one available or to a different school, or just pull her out completely. Even moving classes or schools you could potentially run into a similar problem. But typically most kids will learn not to hit after a few weeks, some take a few months, and a very few longer.