# Changing the brush image not working correctly?

**URL:** <https://forums.unrealengine.com/t/changing-the-brush-image-not-working-correctly/393506>\
**Category:** Blueprint\
**Tags:** image, unreal-engine, UE4, Blueprint, question\
**Created:** [May 13, 2017, 11:35am UTC](https://forums.unrealengine.com/t/changing-the-brush-image-not-working-correctly/393506 "2017-05-13T11:35:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iProspartan117](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iProspartan117](https://forums.unrealengine.com/u/iProspartan117)\
**Post date:** [May 13, 2017, 11:35am UTC](https://forums.unrealengine.com/t/changing-the-brush-image-not-working-correctly/393506/1 "2017-05-13T11:35:12Z")

</div>

Hey!

I am developing a mechanic where the player ia bale to switch character on run time… This works as intended, but now i also have to update the UI…

Once the game starts, it checks the current pawn and sets the correct possessed character image. Then on button press, i can change from the knight to the viking, and it changes the image accordingly.  
But then… when i change back from the viking to the knight… the UI keeps displaying the image from the viking…

I already check with the sting what the current character is after the switching happened (for debugging), and this seems to be right… also used a break point on the branch, and the condition always has the correct value… so it takes the right path…

I am out of ideas…  
If you know something, i would be glad to try it out!

 ![137816-blueprint+code.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/d/dfd4fefc1f9471fa644b5443761b43e5a471bdf3.png)

---

<div class="post-metadata">

**Author:** ![blindminds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blindminds/32/1213160_2.png) [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Post date:** [January 30, 2024, 12:12am UTC](https://forums.unrealengine.com/t/changing-the-brush-image-not-working-correctly/393506/2 "2024-01-30T00:12:43Z")

</div>

For anyone else coming across this issue…and for myself when I forget again!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/7/9c774761d725e1f53463df928a7af8695e309990.jpeg)
