Toddler hitting

Anyone else’s toddler randomly hit them?! Mine has been smacking me lately for no reason. I will gently grab her hand and say we do not hit but just wondering if this is normal and if so what is your response