This documentation is for a prerelease version of O3DE. Click here to switch to the latest release, or select a version from the dropdown.

Version:

Script Canvas Interpreter

Script Canvas offers an interpreter interface that can be placed in almost any situation in the engine or the editor. You can open the Script Canvas Interpreter from the Tools menu in Script Canvas Editor.

Script Canvas Interpreter Widget

The Interpreter take a Scripts Canvas source file and allows the user to configure and execute it immediately. If the source file produces more than a single thread of execution that starts and stops immediately after “On Graph Start”, the script will continue to execute indefinitely. The user can press the stop button or close the window to stop the widget from executing.

Script Canvas Interpreter Widget

Note:
Note that many of the nodes, and much of the functionality available for Entities during the simulation, will not apply when the Interpreter executes. When references to ‘Self’ are detected, the interpreter will not run the graph.