So after I select a sprite I want it to be destroyed but I am not sure how to save the destroyed status into webstorage so it doesn't change back to being available to select. Any help is greatly appreciated. Thank you.
Develop games in your browser. Powerful, performant & highly capable.
sprite on destroyed, webstorage set local key 'key_name' 'somevalue'
system on start of layout local key doesn't exists 'key_name' spawn sprite at x_pos, y_pos
else do_something_else