![](/s/cache/9a/67/9a67ff1eb71cb976c4da9d7bb078bce3.png)
Tapping through a transparent layer
I want to be able to click the visible part of an element that is behind another semi-transparent element.
For example in this screenshot, the girl is behind a wave. I can only click on the very top of her exposed head, whereas I expect to be able to click her entire visible body:
I know is is per-pixel tap test, but still...
If there's a way around that - please advise
Thanks,
Ranco
Vasta
![](/s/cache/78/2c/782c50cf08f179a9e6eba6e3da674ca7.png)
The best way to handle this is to add a transparent element in front of the image of the girl and add your action set to that element. This is not a bug because transparent elements can have action sets and the transparent part of an element needs to be clickable.
![](/s/cache/9a/67/9a67ff1eb71cb976c4da9d7bb078bce3.png)
By "Transparent" you mean alpha-only image, or a hidden element?
Why do you need to allow is a transparent element action sets at all?
Maybe there should be an "allows actions" parameter to an element...
![](https://cdn.userecho.com/characters/65.png?1)
a transparent element is for example a png that doesn't have any colors on it, not even the white background.
You can import a png in builder and set the Opacity to 0% and there you have a transparent element.
![](/s/cache/41/49/4149c2b8b1d85a0634beeaab013f3939.png)
I think it would be nice to be able to do both, so perhaps a global setting for whether you need to be able to click transparent pixels or not, and then being able to change it on specific objects? That way, we could have a click-through set for the entire app, and have 3 images with clickable transparent pixels.
It would be very useful in many ways. You could make all images 1024*768 px in a stack of layers in Photoshop, and then have all objects place excactly where you want them from the start, when you import them to the stage.
![](https://cdn.userecho.com/characters/65.png?1)
![](/s/attachments/1/0/387720/93dc99130fdd9067c4b2412df86463d6.png)
![](/s/cache/41/49/4149c2b8b1d85a0634beeaab013f3939.png)
If it's visible, I want to be able to select it, if that's more clear :)
Customer support service by UserEcho
The best way to handle this is to add a transparent element in front of the image of the girl and add your action set to that element. This is not a bug because transparent elements can have action sets and the transparent part of an element needs to be clickable.