Button Question

How do I alternate a true/false state of a button, each time it is clicked?

Thanks,
Osiyo