I am new in greenfoot and I wonder if help me to use getMouseClick because I need to give a click on a screen and I switch to another
public void act()
{
if (Greenfoot.mouseClicked(null))
{
Greenfoot.setWorld(new World2());
}
}