Please, no trolling or hate, is a serious question,and no comments on Madara stronger or weaker than Naruto and Sasuke, because I do not care.
Kaguya uses the rinnesharingan for going in the dimensions, the same rinnesharingan who had Madara, since Kaguya was "inside"of him.
Practically the...