how do you make a world go to anouther


Greenfoot.setWorld(/*Name of the world*/);
// let's say you wanna switch to an object of the World 'SecondWorld' class: SecondWorld w = new SecondWorld(); Greenfoot.setWorld(w); // or a shorter version: Greenfoot.setWorld(new SecondWorld());