Can someone just tell me a basic button code? Like you click the actor and it switches worlds? I've been trying this but when I click it nothing happens.
if (Greenfoot.mousePressed(this))
{
World LevelSelect = getWorld();
Greenfoot.setWorld(new LevelSelect());
}

