I had the same question about changing an image, and was able to use a “Set Brush From Texture (Image)” node like Damir mentioned. Here’s a snippet of code where I am updating my HUD to change the Ammo Icon based on whether the current gun is empty or not.
‘IsEmpty’ is a variable from my
BaseGun blueprint.
‘AmmoIcon’ is the
name of the Image Widget I want to
change.
I have a problem with changing the reticle because I performed a procedure to switch the sight on my rifle when I rotate the mouse wheel, so I have a series of reticles to choose from. The issue is that I can change them effectively, but the first reticle set always remains in the background within the image space, and the others can be replaced but end up overlapping the first reticle, which stays there continuously. How can I replace the initial reticle with the others, and where am I going wrong