Hello everyone, I'm in a total rush, please help me.
I am trying to write an if statement to check if another object was clicked, so that an object could do something.I don't know how to write that "the other object" part. I mean, how could I tell the program to check if that specific object was clicked, that's what I'm saying. I've read something that I should write a reference, if you could help and explain me how to do this, I'd be forever grateful! Thank you in advance.
if (Greenfoot.mouseClicked(the other object)
{
// do something
}
