Method Attributes | Method Name and Description |
---|---|
Returns the user's code
|
|
API_forceBlockSetup(value)
Sets if block setup is forced in level2
|
|
API_fullscreen(fullscreen)
Sets tool in fullscreen
|
|
Gets breakpoints
|
|
Returns the name of the current dialog
|
|
Returns the grid's properties
|
|
Gets the input from I/O
|
|
Gets the number of lines of code in the last execution
|
|
Gets the number of instructions run in the last execution
|
|
Gets the exection time in the last execution
|
|
Gets breakpoints
|
|
Gets the output from I/O
|
|
Returns the name of the current view
|
|
API_getWhiteboard(gridVisible, guideVisible)
Returns the image binary of the whiteboard
|
|
Returns if the eSeeCode is ready
|
|
API_maximize(fullscreen)
Sets the code console maximized
|
|
Pauses execution
|
|
Resets the execution
|
|
Restarts eSeeCode interface
|
|
Resumes execution
|
|
API_runCode(code)
Runs code silently
|
|
API_setAxis(value, action)
Chooses the predefined axis to use for the grid
|
|
API_setBasePath(value)
Sets the base path for loading images
|
|
API_setBlockSetup(value)
Sets the default block setup style
|
|
API_setBreakpoints(value)
Adds breakpoints
|
|
API_setCustomInstructions(value, action)
Sets definitions of custom instructions
|
|
API_setExecutionStep(step)
Defines whether to enable execution stepping
|
|
API_setGridDivisions(value, action)
Sets the number of the lines in the grid
|
|
API_setGridStep(value, action)
Sets the separation of the lines in the grid
|
|
API_setGuideImage(value)
Sets a custom image for the whiteboard guide
|
|
API_setGuideSize(value)
Sets a custom size for the whiteboard guide
|
|
API_setInput(value, action)
Sets the input in I/O
|
|
API_setInstructions(value, action)
Sets the instruction blocks to make available to the user
|
|
API_setInstructionsPause(milliseconds)
Pauses every instruction for a certain amount of time
|
|
API_setObservers(value)
Adds observers
|
|
API_setPreventExit(value)
Prevent exit when user has entered code
|
|
API_setTheme(theme, run)
Switches the active theme
|
|
API_setViewTabs(value, action)
Shows/Hides views tabs
|
|
Sets the background of the whiteboard
|
|
API_showFilemenu(value, action)
Shows/Hides the filemenu
|
|
API_showFullscreenmenu(value, action)
Shows/Hides the fullscreen menu
|
|
API_showGrid(value, action)
Shows/Hides the grid
|
|
API_showGuide(value, action)
Shows/Hides the guide
|
|
API_showThemes(value, action)
Shows/Hides the themes menu
|
|
API_showTranslations(value, action)
Shows/Hides the translations menu
|
|
API_stop()
Stops execution
|
|
API_switchDialog(value, action)
Switches to the specified dialog
|
|
API_switchLanguage(value, action)
Switches to the specified language
|
|
API_switchView(value, action)
Switches to the specified view
|
|
Marks the code as saved now
|
|
API_uploadCode(code, run)
Loads code into the console
|
|
API_uploadPostcode(code)
Loads postcode into the console
|
|
API_uploadPrecode(code, run)
Loads precode into the console
|
API_downloadCode()
API_forceBlockSetup(true)
API_fullscreen()
API_getBreakpoints()
API_getDialog()
API_getGridProperties()
API_getInput()
API_getLastExecutionCodeLinesCount()
API_getLastExecutionInstuctionsCount()
API_getLastExecutionTime()
API_getObservers()
API_getOuput()
API_getView()
API_getWhiteboard()
API_isReady()
API_maximize()
API_pause()
API_reset()
API_restart()
API_resume()
API_runCode("repeat(4){forward(100)}")
API_setAxis(0)
API_setBasePath("https://eseeco.de/example/")
API_setBlockSetup("basic")
API_setBreakpoints([8,"name","age"])
API_setCustomInstructions({...})
API_setExecutionStep(1)
API_setGridDivisions(10)
API_setGridStep(50)
API_setGuideImage("https://eseecode.com/favicon.png")
API_setGuideSize(25)
API_setInput("1 1 2 3 5 8")
API_setInstructions("turnLeft;90;forward")
API_setInstructionsPause(500)
API_setObservers(["firstname","surname"])
API_setPreventExit(false)
API_setTheme("sharp")
API_setViewTabs("touch,drag")
API_setWhiteboardBackground("https://eseecode.com/favicon.png")
API_showFilemenu(false)
API_showFilemenu(false)
API_showGrid(false)
API_showGuide(false)
API_showThemes(false)
API_showTranslations(false)
API_stop()
API_switchDialog("io")
API_switchLanguage("ca")
API_switchView("build")
API_updateSavedTime()
API_uploadCode("repeat(4){forward(100)}",true)
API_uploadPostcode("repeat(4){forward(100)}")
API_uploadPrecode("repeat(4){forward(100)}")