I have set the button image visibility to-- Not hit-testable(self only). after some condition met i set another image as shown in image. but the problem is that when i again open the widget then it is again appear previously set picture with not hit visibility.
That’s because you create a new widget in which the condition is not fulfilled. You need to save the condition bool somewhere and load it every time a new widget is created and set the image accordingly on Event Construct. If you need the condition to be persistent across the entire game once it’s fulfilled, save it to a save file. If you need it to be reset when a game is launched, you can save it to the Game Instance.
i save the image and its visibility true. but the problem is that the image is set but the button is not clicked.