what type of figurative Language is

The messy room seemed depressed.

The type of figurative language used in the sentence "The messy room seemed depressed" is personification. Personification is a figure of speech in which human qualities or emotions are attributed to non-human objects or entities. In this case, the messy room is being described as if it is capable of feeling emotions like depression.