Another Newbie Question - Problem with a simple toggle switch mouse click function?

Hi again guys, I got another problem. I have a Quad that when I click on it I want it to change from green to white. I have a Mouse node with the left click pin attached to a switch to turn it from green to white, but at the moment the quad will only turn white when the mouse is being held down.

Here’s some pictures, I added the toggle I/O box to show when the left mouse button is being held down.


Mouse button not being held down


Mouse button being held down

Write toggle in nodebrowser and choose Toggle (Animation). Hit F1, too.

btw, it is usually better (for memory and performance) to switch the color directly instead of creating two different quads.