should be
map:get_entity("child_" .. i):get_sprite()