Large button but need a small area to be clickable and remaining normal ..

I have created one big rectangle (With some animation in it) and set it as button. But I don’t want all area of that rectangle to be clickable. How can I make a small portion of that rectangle which can be clickable and the remaining to be normal?


Just create a div or span insede the rectangle and attatch the click event to it intead.

1 Like