I need to get my character to change image if mouse is pressed and need to get another character to do something if the mouse clicks on it, how do i do this
//in act method
if (Greenfoot.mousePressed(this))
{
//do "something"
}