I have object (A) that requires to be clicked with the mouse. when this happens I have a seperate object (B) (class) that is spose to act that is where Im having the problem.
For (B) i have this in the act section
if(Greenfoot.mouseClicked(switchLight.class))
{ methods that work go here}
Am I on the right track ?
I.e Probly the same as clicking a switch and then something else happens.

