heres a cool list of stuff I found on cdo

"Infinity"
"NaN"
"undefined"
"window"
"self"
"Function"
"Object"
"constructor"
"Array"
"Number"
"String"
"Boolean"
"Date"
"Math"
"RegExp"
"JSON"
"Error"
"EvalError"
"RangeError"
"ReferenceError"
"SyntaxError"
"TypeError"
"URIError"
"isNaN"
"isFinite"
"parseFloat"
"parseInt"
"eval"
"escape"
"unescape"
"decodeURI"
"decodeURIComponent"
"encodeURI"
"encodeURIComponent"
"getTime"
"randomNumber"
"prompt"
"promptNum"
"playSound"
"stopSound"
"playSpeech"
"setTimeout"
"clearTimeout"
"setInterval"
"clearInterval"
"timedLoop"
"stopTimedLoop"
"console"
"insertItem"
"appendItem"
"removeItem"
"getUserId"
"getKeyValue"
"setKeyValue"
"_setupDone"
"_pixelDensity"
"_requestAnimId"
"_preloadCount"
"_isGlobal"
"_loop"
"_styles"
"_defaultCanvasSize"
"_events"
"_loadingScreenId"
"_registeredMethods"
"_start"
"_runIfPreloadsAreDone"
"_decrementPreload"
"_wrapPreload"
"_incrementPreload"
"_setup"
"_draw"
"_runFrames"
"_setProperty"
"remove"
"camera"
"_angleMode"
"_targetFrameRate"
"_startTime"
"_tempCanvas"
"_fixedSpriteAnimationFrameSizes"
"afterRedraw"
"_drawEpilogue"
"_setupEpiloguePhase1"
"_setupEpiloguePhase2"
"drawingContext"
"_renderer"
"_isdefaultGraphics"
"loadImage"
"loadShape"
"loadFont"
"loadModel"
"loadImageElement"
"gamelabPreload"
"_p5PlayProperties"
"P2D"
"WEBGL"
"ARROW"
"CROSS"
"HAND"
"MOVE"
"TEXT"
"WAIT"
"HALF_PI"
"PI"
"QUARTER_PI"
"TAU"
"TWO_PI"
"DEGREES"
"RADIANS"
"CORNER"
"CORNERS"
"RADIUS"
"RIGHT"
"LEFT"
"CENTER"
"TOP"
"BOTTOM"
"BASELINE"
"POINTS"
"LINES"
"LINE_STRIP"
"LINE_LOOP"
"TRIANGLES"
"TRIANGLE_FAN"
"TRIANGLE_STRIP"
"QUADS"
"QUAD_STRIP"
"CLOSE"
"OPEN"
"CHORD"
"PIE"
"PROJECT"
"SQUARE"
"ROUND"
"BEVEL"
"MITER"
"RGB"
"HSB"
"HSL"
"AUTO"
"ALT"
"BACKSPACE"
"CONTROL"
"DELETE"
"DOWN_ARROW"
"ENTER"
"ESCAPE"
"LEFT_ARROW"
"OPTION"
"RETURN"
"RIGHT_ARROW"
"SHIFT"
"TAB"
"UP_ARROW"
"BLEND"
"ADD"
"DARKEST"
"LIGHTEST"
"DIFFERENCE"
"EXCLUSION"
"MULTIPLY"
"SCREEN"
"REPLACE"
"OVERLAY"
"HARD_LIGHT"
"SOFT_LIGHT"
"DODGE"
"BURN"
"THRESHOLD"
"GRAY"
"OPAQUE"
"INVERT"
"POSTERIZE"
"DILATE"
"ERODE"
"BLUR"
"NORMAL"
"ITALIC"
"BOLD"
"_DEFAULT_TEXT_FILL"
"_DEFAULT_LEADMULT"
"_CTX_MIDDLE"
"LINEAR"
"QUADRATIC"
"BEZIER"
"CURVE"
"_DEFAULT_STROKE"
"_DEFAULT_FILL"
"_preloadMethods"
"_registeredPreloadMethods"
"registerPreloadMethod"
"registerMethod"
"_createFriendlyGlobalFunctionBinder"
"alpha"
"blue"
"brightness"
"color"
"green"
"hue"
"lerpColor"
"lightness"
"red"
"saturation"
"background"
"clear"
"colorMode"
"fill"
"noFill"
"noStroke"
"stroke"
"float"
"int"
"str"
"boolean"
"byte"
"char"
"unchar"
"hex"
"unhex"
"append"
"arrayCopy"
"concat"
"reverse"
"shorten"
"shuffle"
"sort"
"splice"
"subset"
"join"
"match"
"matchAll"
"nf"
"nfc"
"nfp"
"nfs"
"split"
"splitTokens"
"trim"
"_frameRate"
"_lastFrameTime"
"print"
"cursor"
"frameRate"
"getFrameRate"
"setFrameRate"
"noCursor"
"_onresize"
"fullscreen"
"pixelDensity"
"displayDensity"
"getURL"
"getURLPath"
"getURLParams"
"createImage"
"saveCanvas"
"saveFrames"
"_makeFrame"
"_validateParameters"
"_helpForMisusedAtTopLevelCode"
"image"
"tint"
"alphaTint"
"noTint"
"_getTintedImageCanvas"
"imageMode"
"blend"
"copy"
"filter"
"get"
"loadPixels"
"set"
"updatePixels"
"createInput"
"createReader"
"loadBytes"
"parseXML"
"selectFolder"
"selectInput"
"_pWriters"
"beginRaw"
"beginRecord"
"createOutput"
"endRaw"
"endRecord"
"saveBytes"
"saveJSON"
"saveJSONObject"
"saveJSONArray"
"saveStream"
"saveStrings"
"saveXML"
"selectOutput"
"saveTable"
"_checkFileExtension"
"_isSafari"
"isKeyPressed"
"_onkeydown"
"_onkeyup"
"_onkeypress"
"_onblur"
"keyIsDown"
"_updatePAccelerations"
"_updatePRotations"
"turnAxis"
"setMoveThreshold"
"setShakeThreshold"
"_ondeviceorientation"
"_ondevicemotion"
"_handleMotion"
"_hasMouseInteracted"
"isMousePressed"
"_updateNextMouseCoords"
"_updateMouseCoords"
"_setMouseButton"
"_onmousemove"
"_onmousedown"
"_onmouseup"
"_ondragend"
"_ondragover"
"_onclick"
"_onwheel"
"day"
"hour"
"minute"
"millis"
"month"
"second"
"year"
"_hasTouchInteracted"
"winTouchX"
"winTouchY"
"pwinTouchX"
"pwinTouchY"
"_updateNextTouchCoords"
"_updateTouchCoords"
"_ontouchstart"
"_ontouchmove"
"_ontouchend"
"createVector"
"abs"
"ceil"
"constrain"
"dist"
"exp"
"floor"
"lerp"
"log"
"mag"
"map"
"max"
"min"
"norm"
"pow"
"round"
"sq"
"sqrt"
"randomSeed"
"random"
"randomGaussian"
"noise"
"noiseDetail"
"noiseSeed"
"acos"
"asin"
"atan"
"atan2"
"cos"
"sin"
"tan"
"degrees"
"radians"
"angleMode"
"createCanvas"
"resizeCanvas"
"noCanvas"
"createGraphics"
"blendMode"
"arc"
"ellipse"
"line"
"point"
"quad"
"rect"
"triangle"
"ellipseMode"
"noSmooth"
"rectMode"
"smooth"
"strokeCap"
"strokeJoin"
"strokeWeight"
"bezier"
"bezierDetail"
"bezierPoint"
"bezierTangent"
"curve"
"curveDetail"
"curveTightness"
"curvePoint"
"curveTangent"
"beginContour"
"beginShape"
"bezierVertex"
"curveVertex"
"endContour"
"endShape"
"quadraticVertex"
"vertex"
"exit"
"noLoop"
"loop"
"push"
"pop"
"pushStyle"
"popStyle"
"redraw"
"size"
"applyMatrix"
"popMatrix"
"printMatrix"
"pushMatrix"
"resetMatrix"
"rotate"
"rotateX"
"rotateY"
"rotateZ"
"scale"
"shearX"
"shearY"
"translate"
"textAlign"
"textLeading"
"textSize"
"textStyle"
"textWidth"
"textAscent"
"textDescent"
"_updateTextMetrics"
"text"
"textFont"
"plane"
"box"
"sphere"
"cylinder"
"cone"
"ellipsoid"
"torus"
"model"
"normalMaterial"
"texture"
"ambientMaterial"
"specularMaterial"
"ambientLight"
"directionalLight"
"pointLight"
"perspective"
"ortho"
"orbitControl"
"originalCreateCanvas_"
"originalEllipse_"
"originalRect_"
"imageElement"
"allSprites"
"_mouseButtonIsPressed"
"mouseDidMove"
"mouseIsOver"
"mousePressedOver"
"regularPolygon"
"shape"
"rgb"
"createGroup"
"World"
"spriteUpdate"
"createSprite"
"removeSprite"
"updateSprites"
"getSprites"
"drawSprites"
"drawSprite"
"loadAnimation"
"loadSpriteSheet"
"animation"
"_p5play"
"keyWentDown"
"keyWentUp"
"keyDown"
"_isKeyInState"
"mouseDown"
"mouseUp"
"mouseWentUp"
"mouseWentDown"
"_clickKeyFromString"
"CLICK_KEY"
"_isMouseButtonInState"
"KEY"
"KEY_DEPRECATIONS"
"_keyCodeFromAlias"
"readPresses"
"useQuadTree"
"quadTree"
"Sprite"
"Camera"
"Group"
"createEdgeSprites"
"Animation"
"SpriteSheet"
"_warn"
"afterUserDraw"
"p5"
"Game"
"showMobileControls"
"appendSpriteConsole"
"getCallback"
"setCallbackRetVal"
"p"
"__jsCB"

also does anyone know how to get the actual text of a function on cdo because im curious what some of these do

like on ka you can just put print(functionNameOrWhatever) and itll show you in text the actual function

    its just Object.keys(window); but also 80% of them dont work

    ackvonhuelio The game object contains data about the current game. Such as:

    frameCount: 11753
    width: 400
    height: 400
    allSprites: Array[0]
    frameRate: 29.239766079323353
    mouseX: 368
    mouseY: 152
    pInst: o
    seconds: 3982

    however, all of these properties are better accessible through the window object as global variables. Interestingly, pInst does not look like _pInst.

    If you really wanted to, you could see what all of these are by running this code:

    var w = Object.keys(window);
    for (var i in w) {
      console.log(w[i] + ": " + typeof(eval(w[i])));
    }

      Wait, typeof uses parenthesis??
      I havent used it in a while, but I thought it worked like this

      if (typeof variable == "string") {
        console.log('yes');
      }

        Chat