# UMG: how to disable scaling borders of texture

**URL:** <https://forums.unrealengine.com/t/umg-how-to-disable-scaling-borders-of-texture/428636>\
**Category:** UI\
**Tags:** hud, border, unreal-engine, question, UMG\
**Created:** [July 3, 2018, 8:52pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-scaling-borders-of-texture/428636 "2018-07-03T20:52:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BarsikThe3rdCat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BarsikThe3rdCat](https://forums.unrealengine.com/u/BarsikThe3rdCat)\
**Post date:** [July 3, 2018, 8:52pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-scaling-borders-of-texture/428636/1 "2018-07-03T20:52:12Z")

</div>

Hello! I came here from Unity and i can’t understand some things. One of those things is borders. In Unity you can select borders in Sprite Editor and everything behind borders won’t scale and we can get ideal addapted frames and another shapes. I used it for overlays with custom size. in Unity i had this:

 ![246075-lyal2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/5/0952061ca051280563f87448e8db05545255fea1.png)

But i can’t get it in Unreal Engine. In UE4 i have this:

 ![246074-lyal.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/3/fe304d60463eb976c509fea550cc936177493703.png)

So how can i do this same way in UE4?

---

<div class="post-metadata">

**Author:** ![BarsikThe3rdCat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BarsikThe3rdCat](https://forums.unrealengine.com/u/BarsikThe3rdCat)\
**Post date:** [July 3, 2018, 8:54pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-scaling-borders-of-texture/428636/2 "2018-07-03T20:54:00Z")

</div>

Textures size is 32x32

---

<div class="post-metadata">

**Author:** ![DryreL](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dryrel/32/1042339_2.png) [@DryreL](https://forums.unrealengine.com/u/DryreL)\
**Post date:** [November 3, 2022, 9:01pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-scaling-borders-of-texture/428636/3 "2022-11-03T21:01:38Z")

</div>

Hi,

I’m looking for same thing. Any solution?

---

<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:** [November 3, 2022, 9:13pm UTC](https://forums.unrealengine.com/t/umg-how-to-disable-scaling-borders-of-texture/428636/4 "2022-11-03T21:13:14Z")

</div>

Sounds a bit like [9-slice.](https://en.wikipedia.org/wiki/9-slice_scaling) Can you clarify? I did not get OP’s question at all.
