what type of figurative Language is

The messy house screamed for attention

The type of figurative language used in the phrase "The messy house screamed for attention" is personification. Personification is giving human qualities or characteristics to something non-human, in this case, a messy house is being described as though it is capable of screaming.