# How can i flip my material horizantally (mirror image))

**URL:** <https://forums.unrealengine.com/t/how-can-i-flip-my-material-horizantally-mirror-image/470769>\
**Category:** Rendering\
**Tags:** image-plate, unreal-engine, question\
**Created:** [September 3, 2020, 3:33pm UTC](https://forums.unrealengine.com/t/how-can-i-flip-my-material-horizantally-mirror-image/470769 "2020-09-03T15:33:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [September 3, 2020, 3:33pm UTC](https://forums.unrealengine.com/t/how-can-i-flip-my-material-horizantally-mirror-image/470769/1 "2020-09-03T15:33:30Z")

</div>

in rounded place i want to keep a switch when i activate my material should me flipped is there anyway to do like that

 ![312312-flip.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/8/2/982be9b0ceb4602588d664857353411988b25dc0.png)

---

<div class="post-metadata">

**Author:** ![Chatouille](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chatouille/32/1194622_2.png) [@Chatouille](https://forums.unrealengine.com/u/Chatouille)\
**Post date:** [September 3, 2020, 4:09pm UTC](https://forums.unrealengine.com/t/how-can-i-flip-my-material-horizantally-mirror-image/470769/2 "2020-09-03T16:09:28Z")

</div>

A simple way to flip (X, or Y, or both) is to add OneMinus right after the TextureCoordinate node.

Re-using my previous example, I added a conditional X flip which you can control via scalar parameter (0 or 1) :

 ![312325-eeeee.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/b/62b42d2fb8402b91a05eb51f9b194f333f6456be.jpeg)

---

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [September 3, 2020, 4:16pm UTC](https://forums.unrealengine.com/t/how-can-i-flip-my-material-horizantally-mirror-image/470769/3 "2020-09-03T16:16:48Z")

</div>

You are awesome 😃
