My code got erased

See i´m working on a fighting game and i´m use tutorial real time multiplayer as a base thing is
i coded most of the movement script and then gone
i any suggestions

https://playcanvas.com/editor/code/826861?tabs=54735738

Maybe you didn’t save it, after you make a change to code you have to manually save the code, you can see if it hasn’t been saved as the file your on in the hierarchy will be yellow, but if you already left I don’t think you can get it back

1 Like

thank you

Try to save it next time!