Direct and Indirect objects in "I take my kids to school"

In the sentence

I take my kids to school.

I would be the subject and the verb would be take.

Now, as the verb take is acted upon the kids, I thought my kids was the direct object and the school would be the indirect object.

However, my professor said that the school is actually a direct object.

I'm wondering, do I have both the kids and the school as two separate direct objects?


Indirect object is when you can say it without the preposition "to".

I gave the book to him.

has direct object "the book" but no indirect object.

I gave him the book.

has direct object "the book" and indirect object "him".