How to make button image larger than the button's interactable area?
I am trying to make a menu using a vertical layout group containing buttons, and due to my buttons having odd shapes they have some overlap. This overlap causes buttons to be clicked when the cursor is over other buttons. I would like to know if there is a way to have the dimensions of a button's clickable area differ from the dimensions of its image. I tried making separate images as children of the button, but those areas just add to the clickable area.
Answer by SmomoGame · Oct 19, 2016 at 03:07 AM
Try uncheck Raycast Target box on the child image, that make it ignored by pointer
Your answer
Follow this Question
Related Questions
Button Sprite Stretching 0 Answers
How to move images onto a canvas 0 Answers
how to change the background image of all the scenes on single click of a button? 0 Answers
How to resize an image, without affecting the size of the button? 0 Answers
Make several buttons out of a single image (basic question) 0 Answers