> sometimes when you click on the button, the sound and animation of the click is played, but the action does not occur
Can you share a screenshot of your code ?
> Are you planning to add animations down buttons
I think there's already a down animation
I'm flattered thank you :p
Here is a screenshot, I seem to have figured out this happens when you slide the button, that is, the onclick condition is triggered only if the x, y touches when the button is released are above the button. You need to add a time frame between simple Tap and Hold. For example, if the touch is less than 100ms, then onclick is triggered, regardless of whether there is a collision between touch x,y and the button at the time of release.
I mean scale down animation like scale Quadratic only in the opposite direction (reducing the button at the time of pressing)