Basically, my game has 3 levels and at the end of each level I want to create a link to another world that shows you beat the level and got 1/2/3 stars. Is there a way I could check in the "You beat the level" world what was the previous world so that I can create a link to the next world?
English isn't my first language so here's an example of how I want it to go:
Level1 -> YouBeatTheLevel -> Level2 -> YouBeatTheLevel -> Level3

