# Testing for Transparency

**URL:** https://forum.kirupa.com/t/testing-for-transparency/255518
**Category:** flash
**Created:** [March 24, 2008, 10:45am UTC](https://forum.kirupa.com/t/testing-for-transparency/255518 "2008-03-24T10:45:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Enix591](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/enix591/32/751_2.png) [@Enix591](https://forum.kirupa.com/u/Enix591)
#### Post date: [March 24, 2008, 10:45am UTC](https://forum.kirupa.com/t/testing-for-transparency/255518/1 "2008-03-24T10:45:41Z")

</div>

Is their a way to test if all of the pixels in a rectangle are transparent.

Im animating from a sprite sheet and i want the animation to stop whenever it detects no pixels, or when all of its pixels are transparent.

And/Or can any body just tell me how to figure out if one certain pixel is transparent
