here's some stuff that CDO doesn't tell you about but is very useful
setKeyValue('value name', value); <- sets a value for some variable that is (gonna use some non professional descriptions) 'online', meaning the value stays the same for ALL users and even after restarts. this makes laggy multiplayer possible(emphasis on laggy).
ex: setKeyValue('globalHighScore', 100);
another:
getKeyValue('value', function(e){console.log(e);});
use the callback to access a value of a keyvalue
ex:
getKeyValue('globalHighScore',function(e){
//the high score is 'e' because thats what i put in the callback
console.log('the high score is '+e);
});
and another:
cursor(MODE);
really useful for UI if you want to do something like change the cursor to a hand when it's over a button
modes include:
HAND
ARROW <-(default)
nvm just search up a list
ex: cursor(HAND);
finally:
.includes('string');
CDO tells you about this except i think it's verrrrrrry underrated and almost no one uses it, even for things this should be used for.
basically you do something like:
if(string.includes('e')){
console.log('string includes e');
}
veeeeeerrrrrryyyy underrated
ok hope you found these super speshul stuffs that code.org doesn't tell you about useful