LensStudio:ScriptEditor.Definitions
ClassProvides definitions and paths for script editor functionality.
Example
// The Definitions class in LensStudio:ScriptEditor provides paths used by
// the built-in script editor. Its constructor is protected — you access
// members through static properties only.
const { Definitions } = await import('LensStudio:ScriptEditor');
// StudioLibAbsolutePath is a static Editor.Path pointing to the
// Studio script library type definitions on disk.
const libPath = Definitions.StudioLibAbsolutePath;
console.log('StudioLib absolute path:', libPath.toString());