How to alternate between two actions on ActorOnClicked event

Hello,

I understand that I should be changing material but for simplicity (I still haven’t worked with Materials, I’m learning blueprints) I’m setting colors and not materials. Ultimately, I’m going to use materials but right now I still haven’t finished coding logic of game, this is where I’m stuck

My problem is that I can’t seem to remember state if the ClickBlock was clicked and if it has set material and then use it to color another ClickBlock with different color. This is basically what I want to achieve by this.[link text][2] Every click will spawn different mark on ClickBlock (in my case just colors). Thank you very much for your help.