However, when an indirect object is preceded by a preposition, the indirect object must be placed after the direct object. In the sentence We gave a toy to the child, the indirect object child is preceded by the preposition to. Therefore, the indirect object, child is placed after the direct object toy.