# Getting Bottom Position of Sprites inside a Texture Sheet?

**URL:** <https://forums.unrealengine.com/t/getting-bottom-position-of-sprites-inside-a-texture-sheet/607788>\
**Category:** FX\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [July 18, 2022, 4:59pm UTC](https://forums.unrealengine.com/t/getting-bottom-position-of-sprites-inside-a-texture-sheet/607788 "2022-07-18T16:59:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EinarPF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EinarPF](https://forums.unrealengine.com/u/EinarPF)\
**Post date:** [July 18, 2022, 4:59pm UTC](https://forums.unrealengine.com/t/getting-bottom-position-of-sprites-inside-a-texture-sheet/607788/1 "2022-07-18T16:59:52Z")

</div>

I am a total shader noob, however, I’ve made a custom shader for some Paper2D sprites 🙂  
I make Instances of the shader to set the bottom position percentages of each sprite relative to it’s texture sheet. I have to do this to make my shader behave in the right way.  
My question is: Can I get the bottom position dynamically inside the shader itself? I made this drawing to make the problem easier to understand:  
 ![ShaderProblem1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/8/558bd5df60b4e810f3c3369d3937e128609f1817.png)
