# For Widget ScrollBox, how to fade out it's content aroud the edge?

**URL:** <https://forums.unrealengine.com/t/for-widget-scrollbox-how-to-fade-out-its-content-aroud-the-edge/1286738>\
**Category:** UI\
**Tags:** unreal-engine, Widget, question\
**Created:** [September 7, 2023, 10:19am UTC](https://forums.unrealengine.com/t/for-widget-scrollbox-how-to-fade-out-its-content-aroud-the-edge/1286738 "2023-09-07T10:19:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zandermn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zandermn/32/614314_2.png) [@Zandermn](https://forums.unrealengine.com/u/Zandermn)\
**Post date:** [September 7, 2023, 10:19am UTC](https://forums.unrealengine.com/t/for-widget-scrollbox-how-to-fade-out-its-content-aroud-the-edge/1286738/1 "2023-09-07T10:19:14Z")

</div>

I have a image and some overlay text as child of a scrollbox. I want the image and text fade out when they scroll up and move close to the top edge of the scrollBox. How can I achieve this.

Thanks

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/c/16c20ceb2cc138aefee3cdbfa9f2f969dc809251.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [September 7, 2023, 11:16am UTC](https://forums.unrealengine.com/t/for-widget-scrollbox-how-to-fade-out-its-content-aroud-the-edge/1286738/2 "2023-09-07T11:16:03Z")

</div>

You will need a `retainer box`. Thread:

> [@Transparent UMG Edges](https://forums.unrealengine.com/t/transparent-umg-edges/80190/18):
>
> For anyone ever coming here wondering how to pull this off here’s what I ended up doing with Everynone & scha’s help: • A retainer box is parented to the UMG buttons/images/etc. • A new material is created, (the name of the material is irrelevant but in my case it is called “List\_Overlay\_Material”). • This material is then plugged into the “Effect Material” of the Retainer Box: [Capture.PNG] • Double click the material and set it up as the following: \*Note a…

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/3/a936b20c59dba1b834535ecd317ab35306cc1b4b.jpeg "WTF Is? UMG: Retainer Box in Unreal Engine 4 ( UE4 )") ](https://www.youtube.com/watch?v=gcj0odZjKjM)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 7, 2023, 11:16am UTC](https://forums.unrealengine.com/t/for-widget-scrollbox-how-to-fade-out-its-content-aroud-the-edge/1286738/3 "2023-10-07T11:16:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
