I am currently in a games development course at college and we have started using Greenfoot. We have been tasked with creating a game and I need a bit of help in order to make my idea work.

Is it possible to get an Object to scale with a mouse click, such as a box increasing size up and down depending on different mouse clicks?

If anyone knows any tutorials that does something like this would be appreciated.