Hi
In my game I have an Object placed in my World. When I click on it it has to do something with the world, so I want to put the code in my world. I have this:But if I click on the object nothing happens. Can you help me?
if(Greenfoot.mouseClicked(Exit.class)) { //to do }