ref – https://www.grammar-monster.com/glossary/object_complement.htm
They come right after the direct object, and is a noun/pronoun/adjective.
Here are some more examples of object complements:
I found the guard sleeping.
direct object – guard
object complement – sleeping
We all consider her unworthy.
direct object – her
object complement – unworthy
I declare this centre open.
direct object – this centre
object complement – open
We consider fish spoiled once it smells like what it is.
direct object – fish
object complement – spoiled
To obtain a man’s opinion of you, make him mad. (Physician and poet Oliver Wendell Holmes)
direct object – him
object complement – mad
An object complement is not always one word. It could be a phrase.
For example:
I found the guard sleeping in the barn.
direct object – the guard
object complement – sleeping in the barn
We all consider her unworthy of the position.
direct object – her
object complement – unworthy of the position
They (subj) named (verb) Jeremy Line (direct object) their favorite player (obj complement).