How can i changes the buttons backgrounds colors to it original colors?

Hi, i have make these simple blocks to change the background colors of the 2 buttons.
blockssd
Now i wanna make it changes back to it original colors by touching the buttons again.
Anyone know how to do it?

Does it work to you?

4 Likes

Oh wow i haven't thought this one out, thanks a lot man it's work pretty fine for me.

Mark the post as solution then if it solved your problem.

.....Depends on the original colour

1 Like

Yes true, but if that is the case, then need to maintained a stack, so that immediate preceding color can be obtained to make it current. isn't that?

Edit: Ok, this is how it work.

1 Like