# update dynamic HUD texture

**URL:** <https://forums.unrealengine.com/t/update-dynamic-hud-texture/435759>\
**Category:** UI\
**Tags:** hud, hud-class, unreal-engine, update, question\
**Created:** [October 16, 2018, 5:46pm UTC](https://forums.unrealengine.com/t/update-dynamic-hud-texture/435759 "2018-10-16T17:46:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phaeton1911](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phaeton1911](https://forums.unrealengine.com/u/phaeton1911)\
**Post date:** [October 16, 2018, 5:46pm UTC](https://forums.unrealengine.com/t/update-dynamic-hud-texture/435759/1 "2018-10-16T17:46:10Z")

</div>

i have a simple weapon selection display, just a material instance mounted on the hud, and i need the texture in the material to change everytime i select a different weapon.

it seems that i cant cast to the hud from the player character and i cant figure out how to remotely update the material instance from inside the player character either.

it literally just needs to be a “press 2 \>texture param changes to shotgun, press 3 \> changes to smg”

---

<div class="post-metadata">

**Author:** ![Entropikz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Entropikz](https://forums.unrealengine.com/u/Entropikz)\
**Post date:** [October 16, 2018, 7:10pm UTC](https://forums.unrealengine.com/t/update-dynamic-hud-texture/435759/2 "2018-10-16T19:10:46Z")

</div>

To get the HUD from player character you’ll want to get the characters controller then cast as player controller. From there you can get the HUD ref. The HUD is stored in player controller by default.
