5 yo DD was refusing to get into bed. Kept jumping up and getting toys out etc, wasn’t listening. So I was already annoyed and stressed. She finally got into bed but wouldn’t lie down, instead playing with her soft toys on the bed. I lay down with her and tried to encourage her to lie down, I’d been calm but firm up till this point. I lay quietly not responding to her for a while in the hope she’d lie down. She got annoyed at me ignoring her and whacked me across the face with one of her soft toys, which had a hard bit on it that hit me in the eye and was pretty painful. It made me snap and I screamed at her. Nothing terrible, just “you do not hit me in the face” or something. But it was the screaming at the top of my lungs that was so disturbing. I realised I had to get out of the situation and left the room and she shouted “I like daddy better than you cos he doesn’t shout”. That hurt cos we’re separated and he was an abusive arsehole. Before I left the room though I went to close her door behind me and she was chasing after me and put her hand in the door frame and I shut her finger in the door by accident. Obviously she screamed and I picked her up and cuddled her and told her how sorry I was but she just kept on saying “you did it on purpose”. After she’d calmed down I told her how sorry I was for screaming and that I was in the wrong and I just lost my temper and how sorry I was about her finger but that it was an accident and I’d never hurt her on purpose. She seemed to accept that but I’m so scared she still thinks I did it on purpose or will remember it this way. And I feel so awful about screaming at her. I’ve screamed at her like that maybe once before in her life and swore I’d never do it again but being hit like that just triggered something I couldn’t control and it’s scared me. Do I have an anger/temper problem? Will this fuck her up? Will she always remember it? I also don’t understand how her dad can NEVER shout (not scream, just raise his voice) at her ever (she’s said this before about him). How can anyone remain calm at all times with a 5 yo? Or is that normal? And I’m the one with the problem?