Is the gerund being used as a subject, predicate nominative, direct object, or object of the preposition in the following sentences and why?

For a crisp texture, avoid overlooking the vegetables.

Omar preferred watching the hockey game.

9 answers

Overcooking, a gerund, is the direct object of the verb "avoid."

What do you think about the second sentence.
I am thinking direct object too because it answers the question preferred what?
Right. :-)
Can you verify a few more for me?

For Joanna, making a paper mâché globe was a messy project.

I am thinking either subject or predicate nominative?
"Making a paper mâché globe" is the subject of the verb "was."
What about this one?
Marcello's specialty is sculpting.

I am thinking predicate nominative because it restates her specialty or direct object because it answers the question is what?
You are right! :-)
Do you mean either one could be correct predicate nominative or direct object?
It's a predicate nominative because it follows the linking verb "is."