# finding static mesh location in BP to place 3d text on

**URL:** <https://forums.unrealengine.com/t/finding-static-mesh-location-in-bp-to-place-3d-text-on/376867>\
**Category:** UI\
**Tags:** reference, bounding-box, unreal-engine, Widget, question\
**Created:** [November 20, 2016, 3:26am UTC](https://forums.unrealengine.com/t/finding-static-mesh-location-in-bp-to-place-3d-text-on/376867 "2016-11-20T03:26:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![serulas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serulas](https://forums.unrealengine.com/u/serulas)\
**Post date:** [November 20, 2016, 3:26am UTC](https://forums.unrealengine.com/t/finding-static-mesh-location-in-bp-to-place-3d-text-on/376867/1 "2016-11-20T03:26:05Z")

</div>

Hi,

I have a BP class for drawers that has a static mesh slot which I use to assign different drawer models to. The pivots of the models are set so when I parent my drawer class to the furniture object, I can place all drawers to 0,0,0 and they would snap to their position within the furniture. This works perfectly, no problems here.

I would however like to add a widget/3d text in front of the mesh when looked at. My problem is, I can not figure out the position of the mesh within the local space as its position is 0,0,0. How can I get the position of my drawer static mesh so I can place my text in front of it considering each static mesh for drawers have different positions.

I can solve this by having static mesh slots like the clutter ones I have for dragging in image planes with my text whose visibility I would toggle with a linetrace but seems like the wrong thing to do.

Thanks in advance,

![115620-scr1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/d/f6d20d1f9fdc96a72cf7b4d617a7fed3bc933a97.png)

![115632-scr2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/6/056c0d533edb96c647ed29b9747d758065af2a89.png)

This is how my BP is set up, I have a static mesh for my drawers, clutter static meshes  
for populating said drawers and now the widget.

---

<div class="post-metadata">

**Author:** ![serulas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serulas](https://forums.unrealengine.com/u/serulas)\
**Post date:** [December 26, 2016, 1:00am UTC](https://forums.unrealengine.com/t/finding-static-mesh-location-in-bp-to-place-3d-text-on/376867/2 "2016-12-26T01:00:03Z")

</div>

I found that GetComponentBounds → Box Extent is exactly what I was looking for. Subtracting it from the origin helped me find my location.
