Buttons and their clickability-ness

Hello!

Is it possible to dynamically turn a button’s click-action on and off? It’s probably not as simple as it sounds, but then again, maybe it is!

Thanks in advance,

lrhb :hat: