# Blueprint: how to add a static mesh exposed as variable

**URL:** <https://forums.unrealengine.com/t/blueprint-how-to-add-a-static-mesh-exposed-as-variable/283565>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [May 17, 2014, 11:13am UTC](https://forums.unrealengine.com/t/blueprint-how-to-add-a-static-mesh-exposed-as-variable/283565 "2014-05-17T11:13:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![janherca](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@janherca](https://forums.unrealengine.com/u/janherca)\
**Post date:** [May 17, 2014, 11:13am UTC](https://forums.unrealengine.com/t/blueprint-how-to-add-a-static-mesh-exposed-as-variable/283565/1 "2014-05-17T11:13:14Z")

</div>

I want to create a Blueprint that creates generic arrays and patterns of any static mesh during construction script. AddStaticMeshComponent do not expose a node where to plug-in the static mesh exposed as a variable. It just offers the static mesh as parameter, but there I can only select an existing static mesh in content browser.

How to create a blueprint that exposes a static mesh as a variable so the same blueprint can be reused a lot of times just changing the static mesh it will use?

Thanks  
Jan Herca

---

<div class="post-metadata">

**Author:** ![skus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@skus](https://forums.unrealengine.com/u/skus)\
**Post date:** [May 17, 2014, 11:35am UTC](https://forums.unrealengine.com/t/blueprint-how-to-add-a-static-mesh-exposed-as-variable/283565/2 "2014-05-17T11:35:10Z")

</div>

Have a look at this:

> **[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 — ue4community.wiki! You will be able to find content from the official...

Hope that helps 🙂

---

<div class="post-metadata">

**Author:** ![janherca](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@janherca](https://forums.unrealengine.com/u/janherca)\
**Post date:** [May 17, 2014, 12:54pm UTC](https://forums.unrealengine.com/t/blueprint-how-to-add-a-static-mesh-exposed-as-variable/283565/3 "2014-05-17T12:54:04Z")

</div>

Thanks a lot, really useful!! Just use a default static mesh and then override with Set Static Mesh. That solves my problem.

Jan Herca
