I have a bool “GotRevolver” on my PlayerBP that tells me if i have collected a revolver or not.
I have a image element on my UI widget that displays an icon of the revolver.
I want the UI widget to only display the icon if GotRevolver == true
but i am struggling to get it to work, i have selected to Bind the “Brush” detail in the UI designer and in the created function i am trying to cast to the PlayerBP, get GotRevolver and if it == true i am trying to set the Brush Image to the my revolver icon by making a new slate brush struct. But it keeps saying execute path is not connected to a return node although it is.