We assume that children converge on a grammar structured like the grammar for adults and actually almost identical to it.
without an overt subject it can occur as an infinitival or participial complement to other verbs in the adult language.