Is it possible to save and load clones

it should be already saved. the code is in the “save button” sprite.

i imported your save button sprite in my project: all work !

in your version, the problem seem come from this: (danger and ground sprite)


In the save button, you are creating a clone of danger, probably the new clone touch another danger clone and it immediatly delete in the when i start as a clone script. After that you tell the clont to do something, but the clons was deleted…

reverse your strategy: (in my version)


and when you create the clone (it do not touch another clone) so you don’t need to delete it if it touch another clone like this: (in my version)

okay, Thank you.

If you want I can credit you in the game.

as you wish, i like to help !

I noticed something, draw something, save it, hit the green flag, try to load your level: nothing appear !

I know the problem but i let you search and think about it… If you don’t found the problem and the solution, let me know !

You could also simplify <<touching [mouse-pointer V]?>and<key([backspace]::variables)pressed?><(Editing)=<true>>::operators> to <<touching [mouse-pointer V]?>and<key([backspace]::variables)pressed?>(Editing)::operators>
and <<not<touching(Danger)?>>and<not<touching(Ground)?>>> to <not<<touching(Danger)?>or<touching(Ground)?>>

You reply to me but it’s not my code…

The OP could also see the reply

yum

There’s a typo in your post.
I fixed it: and when you create the clone (it do not touch another clone) so you don’t need to delete it if it touch another clone like this: (in my version)

Thank you