Button Conditional

I wanted to create like button which can’t be clicked more than once so what should i set on condition ?

Instead of “This Button” use whatever thing is being updated by the like button to define the condition.

So here I change the colour of a button if it has been clicked.


Clicking the button adds to the user’s list of liked comments. But you could stop it being clicked in the same way, rather than just change the colour.