I want to have a variable where I can choose if the object is no save or not and
Develop games in your browser. Powerful, performant & highly capable.
place another variable that stores the information whether to save or not and place it as a condition to save the other variable