How can I disable a button

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DrSpyros

Ok so, This question has been asked a lot as I’ve seen, but nothing works for me,
I want to disable a button and I don’t know how. Help will be apreciated

:bust_in_silhouette: Reply From: Ninfur

This should do:
button.disabled = true

Thanks a lot, this worked :3

DrSpyros | 2022-10-28 14:40

Thanks a lot, this worked :3

DrSpyros | 2022-10-28 14:43