Hi, I’m trying to make my player shoot when I press a button. To do this, I put a shoot button and another button to make a dash, but these don’t have a square shape, which means that when I put them together and try to press the shoot button, the dash button is pressed because the detection is based on the raycast target of the image and it is square in shape even though the shape of the sprite is triangular.
I attach an image of the buttons:
Shape of the button that is invading the other button
Do you know any solution to my problem?