I’m trying to get a vignette with images in the foreground to create a unique heal effect when the player picks up a Heal Item. The way I have it set up in the Widget is that there are two halves to the foreground vignette, LeftHeal1 & RightHeal1. These are both Images on the widget. They both use the same images, with RightHeal1 being flipped. In full it should look something like this:
I’m using individual images, not a spritesheet, as that’s what my artist gave me and for now I can’t request a spritesheet. So my solution was to have a widget animation trigger a custom animation, and I manually switch the images at certain keyframes by calling a custom event that switches the sprite. The function in question has inputs parameters, a Slate Brush (the image I want displayed on the specific keyframe) and a boolean, and can be seen below alongside with an example on how the event is triggered on a keyframe.
The issue that I can’t seem to figure out is that the Image parameter always returns empty? It’s not even null, it’s just empty. I tried debugging through Print String, and it returned empty, not even null. The boolean check works, since the right side is encountering this bug as well. Honestly I have no idea why this is returning empty. For now I’ll submit a temporary fix to this, but hopefully someone can tell me why it’s returning empty as I haven’t found anything and I’ve been researching for the past few days. Below is an image of the bug (returns white boxes instead of desired image)