Determine which type of figurative language is used in he following sentence.

The flag waved at us from its great height, as if to say hello.
simile
personification
hyperbole
metaphor

personification

To determine which type of figurative language is used in the sentence, "The flag waved at us from its great height, as if to say hello," we can go through each option and identify the correct one.

1. Simile: A simile compares two things using "like" or "as." In this sentence, we do not have a comparison using "like" or "as," so it is not a simile.

2. Personification: Personification gives human qualities or actions to non-human objects. In this sentence, the flag is personified as it is said to wave and "say hello." Therefore, personification is not the correct answer.

3. Hyperbole: Hyperbole is an exaggerated statement or claim. Although the sentence uses imagery to describe the flag's height, it does not contain an exaggerated statement. So, hyperbole is not the correct answer.

4. Metaphor: A metaphor directly compares two things without using "like" or "as." In the sentence, the flag waving is being compared to the action of saying hello. This is not a literal comparison but a metaphorical one. Therefore, the correct answer is metaphor.

So, in the given sentence, the type of figurative language used is a metaphor.

The type of figurative language used in the sentence "The flag waved at us from its great height, as if to say hello" is personification.