I need to deactivate the event trigger of a button,how to disable event trigger of a button?

Hello! I need to deactivate the event trigger of a button, does anyone know how to do it?
PD: I managed to deactivate the interactive part of the button, but on the andoid touch screen the event trigger keeps working even if the interactive part of the button is disabled …
-perdon english, use google traslate-,Hello! I need to deactivate the event trigger of a button, does anyone know how to do it?
PD: I managed to deactivate the interactive part of the button, but on the andoid touch screen the event trigger keeps working even if the interactive part of the button is disabled
-perdon english, use google traslate-

button.interactable = false;

should do it ?