# Fading out part of a Sprite

**URL:** <https://forum.kirupa.com/t/fading-out-part-of-a-sprite/294028>\
**Category:** flash\
**Created:** [August 7, 2009, 6:08am UTC](https://forum.kirupa.com/t/fading-out-part-of-a-sprite/294028 "2009-08-07T06:08:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noobie123](https://avatars.discourse-cdn.com/v4/letter/n/ad7895/32.png) [@noobie123](https://forum.kirupa.com/u/noobie123)\
**Post date:** [August 7, 2009, 6:08am UTC](https://forum.kirupa.com/t/fading-out-part-of-a-sprite/294028/1 "2009-08-07T06:08:22Z")

</div>

I have sprite object (a rectangle) with a line dividing it into 2 parts and a text field in the 2nd part. Now, I want to gradually fade out only the 2nd part of this rectangular object to alpha=0.2. How can I achieve this?
