How is the underlined gerund used in the sentence?

His only action toward his goal was some wishing.







A.
predicate nominative





B.
direct object





C.
subject





D.
object of a preposition