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

**URL:** <https://forum.kirupa.com/t/large-button-but-need-a-small-area-to-be-clickable-and-remaining-normal/635610>\
**Category:** Uncategorized\
**Created:** [November 29, 2016, 8:06pm UTC](https://forum.kirupa.com/t/large-button-but-need-a-small-area-to-be-clickable-and-remaining-normal/635610 "2016-11-29T20:06:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LearnerFlashPro](https://avatars.discourse-cdn.com/v4/letter/l/e274bd/32.png) [@LearnerFlashPro](https://forum.kirupa.com/u/LearnerFlashPro)\
**Post date:** [November 29, 2016, 8:06pm UTC](https://forum.kirupa.com/t/large-button-but-need-a-small-area-to-be-clickable-and-remaining-normal/635610/1 "2016-11-29T20:06:11Z")

</div>

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?

Thanks.

---

<div class="post-metadata">

**Author:** ![Jonny\_Silva](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jonny_silva/32/7836_2.png) [@Jonny\_Silva](https://forum.kirupa.com/u/Jonny_Silva)\
**Post date:** [November 29, 2016, 9:05pm UTC](https://forum.kirupa.com/t/large-button-but-need-a-small-area-to-be-clickable-and-remaining-normal/635610/2 "2016-11-29T21:05:20Z")

</div>

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