The curtain was waving to everyone every time the wind blew through the open window. What type of figurative language is used in this sentence?

Personification