Random integer loop on Widget

Hello guys,

I’m having a problem, i created a widget and it will have a random image on it:

It’s working. The problem is, while this widget is shown the images keep changing after some seconds. You guys know a way i can do the widget select only one image and don’t change anymore? (“Fundo” is the image).

Hello!

Can you provide the graph where you call loading image?

And you can put this under construction event, how often are you using this widget?

You must be calling it somewhere else or creating multiple widgets. Screen shot how this is called and any other place you call it from and/or create this widget.

Hello!
Oh sorry i forgot to tell, this function It’s on the widget itself. On the Event Construct i call the function called “Loading Image” and i call this widget when i change the levels.

You was right Nebula Games, i entered in all my maps and in some of them i was calling the widget 2 times ^^" Thanks for the help!

No problem!