In Avengers: Infinity War Thanos was able to travel through what looked like some sort of worm hole or portal.
What allowed him to do this? And what is the mechanism that enabled him to do it?
Thanos used the Space Stone that he acquired on Thor's spaceship in the beginning of the movie. That Infinity Stone allows him to travel instantly across vast distances.