Territorial Toddler!

Hey there! I have a 2.5 y/o who tends to be very protective with her toys when playing with others. For example, at a playdate we're hosting, she'll take things out of her friends' hands and becomes frustrated easily when others are playing with her things.

I know it's normal for toddlers to have difficulty sharing, but what can I say or do in the moment to teach or diffuse the situation? Thank you!