I have a simple sprite that acts as a button, when I click it, it performs an action. How can I disable this interaction based on a condition (for example - var...
It is a button like this, how can the button avoid triggered when clicking on the ground?