# How to get level dimensions translated onto a texture dimension

**URL:** <https://forums.unrealengine.com/t/how-to-get-level-dimensions-translated-onto-a-texture-dimension/85182>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [February 13, 2017, 7:20pm UTC](https://forums.unrealengine.com/t/how-to-get-level-dimensions-translated-onto-a-texture-dimension/85182 "2017-02-13T19:20:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_29dea4d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_29dea4d1](https://forums.unrealengine.com/u/anonymous_user_29dea4d1)\
**Post date:** [February 13, 2017, 7:20pm UTC](https://forums.unrealengine.com/t/how-to-get-level-dimensions-translated-onto-a-texture-dimension/85182/1 "2017-02-13T19:20:37Z")

</div>

Hi all,

I’m trying to do a texture based mini map and can’t figure out a few things,

1. How to translate level dimensions to my minimap texture
2. How to translate player location to my minimap.

Any help will be much appreciated 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9de3c46](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9de3c46](https://forums.unrealengine.com/u/anonymous_user_b9de3c46)\
**Post date:** [February 13, 2017, 10:59pm UTC](https://forums.unrealengine.com/t/how-to-get-level-dimensions-translated-onto-a-texture-dimension/85182/2 "2017-02-13T22:59:33Z")

</div>

A common way would be to use a custom renderTarget and just render your current level onto the map.

Of course you could also use a texture but then you’ll need to define your own standard about how many units should be one pixel (If you have a pretty large map you really don’t want it to take up the whole screen).

I suggest you look at this little tutorial. You can obviously also place a static texture instead of the renderTarget if you still feel you have to. 🙂

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_29dea4d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_29dea4d1](https://forums.unrealengine.com/u/anonymous_user_29dea4d1)\
**Post date:** [February 14, 2017, 3:34am UTC](https://forums.unrealengine.com/t/how-to-get-level-dimensions-translated-onto-a-texture-dimension/85182/3 "2017-02-14T03:34:22Z")

</div>

Hi Fronzelneekburm,

Thanks for your reply. I have now a rendertarget minimap but was looking more to have a 2d minimap.
