Alert problem

I’m testing my jumping in my game by making an alert. When the alert happened, I pressed ‘ok’ but it won’t exit out. Someone help me pls.

EDIT: I think I know the answer to my problem. I put the alert command in the update event. But still pls try to answer me if you have any other ideas.

1 Like

Yep, i think it’s update, update runs every single tick the project is running.

2 Likes

Hi @tazer_900, Feel free to share your project and we can take a look and help! But yes, adding the alert() command in update will make an alert appear once every tick, which means it will never go away!

I would love to share my project with you @Luxapodular! But sadly (bc of the alert thing), I had to exit out of wick editor without saving the project :pensive:. But thank you for the response!

I’ve had that problem many times before, I usually use the “enter” shortcut to exit the alert quickly, and click “k” when I have my chance to pause the project

Go back to the wick site and reload the last project. It will ask if you want to do that.

i tried doing that but it didn’t work for some reason…

You don’t see a “Load Autosave?” text when you open the website?

I do but when I press the green button, nothing shows up.

Oh…It autosaved on a new project…