I need help with how to switch between words by clicking. For example, if I had two worlds - 'x' and 'y' - and when I clicked on something within 'x' it would switch to 'y'.
Thanks
Use the Greenfoot class method mouseClicked for the boolean condition and the Greenfoot method setWorld for the action to take if the condition is true.