# onClick function. Does it take into account transparency

**URL:** https://forum.kirupa.com/t/onclick-function-does-it-take-into-account-transparency/331380
**Category:** web dev
**Created:** [July 19, 2013, 3:44pm UTC](https://forum.kirupa.com/t/onclick-function-does-it-take-into-account-transparency/331380 "2013-07-19T15:44:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SoupHead](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@SoupHead](https://forum.kirupa.com/u/SoupHead)
#### Post date: [July 19, 2013, 3:44pm UTC](https://forum.kirupa.com/t/onclick-function-does-it-take-into-account-transparency/331380/1 "2013-07-19T15:44:03Z")

</div>

Okay. I want to make some arrow shaped buttons for movement. I’m using an image tag. Will the html page take into account sections that don’t have any data if I’m using a .png file (Which supports it) and ignore it if I click in some whitespace or will it consider that part of the image and call the onclick function anyway?
