# How to scale and center a texture?

**URL:** <https://forums.unrealengine.com/t/how-to-scale-and-center-a-texture/2060183>\
**Category:** FX\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [October 9, 2024, 1:41pm UTC](https://forums.unrealengine.com/t/how-to-scale-and-center-a-texture/2060183 "2024-10-09T13:41:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [October 9, 2024, 1:41pm UTC](https://forums.unrealengine.com/t/how-to-scale-and-center-a-texture/2060183/1 "2024-10-09T13:41:35Z")

</div>

I want to scale and center a texture.

I found this answer on the forum and it seems to make sense.

> [@How to scale a texture's UV 'from' the center?](https://forums.unrealengine.com/t/how-to-scale-a-textures-uv-from-the-center/340332/8):
>
> If your center = [0.5;0.5], then ((UV-[0.5;0.5])\*Scale)+[0.5;0.5] Another words, you just move Center Point to [0;0], scale it and return it to its initial position.

However it does not work.

In the video I try to make the texture four times smaller and place it in the center.  
I think the scale works but I can’t center the image.

How to do it correctly?

Thank you so much!!

---

<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:** [October 9, 2024, 1:51pm UTC](https://forums.unrealengine.com/t/how-to-scale-and-center-a-texture/2060183/2 "2024-10-09T13:51:25Z")

</div>

> [@Ivan3z](#):
>
> I want to scale and center a texture.

You are going to love & hate the answer at the same time:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/7/87724c8fecb88aece75c76790ea125bffac8ff97.jpeg)

* * *

> I would have loved to know how to do it with mathematical operations…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/3/963f71b991fd60fb8b3300524e48bad4a0c04dcd.png)

@Ivan3z Essentially, you were sooo close!

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [October 9, 2024, 1:56pm UTC](https://forums.unrealengine.com/t/how-to-scale-and-center-a-texture/2060183/3 "2024-10-09T13:56:28Z")

</div>

Hi @Everynone

> [@Everynone](#):
>
> You are going to love & hate the answer at the same time:

You are absolutely right… I would have loved to know how to do it with mathematical operations… but I am a practical man… that function is wonderful anyway!!

Thank you so much for your help!! ♥

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [October 9, 2024, 5:46pm UTC](https://forums.unrealengine.com/t/how-to-scale-and-center-a-texture/2060183/4 "2024-10-09T17:46:31Z")

</div>

I love it!!  
Thank you so much @Everynone !!

---

<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:** [November 8, 2024, 5:46pm UTC](https://forums.unrealengine.com/t/how-to-scale-and-center-a-texture/2060183/5 "2024-11-08T17:46:40Z")

</div>

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