what type of figurative language is

The long grass played in the wind

The phrase "The long grass played in the wind" uses personification, as it attributes human-like qualities and actions to the non-human entity of the grass.