Overview
Reference for the APIs you script Lenses and Lens Studio with. The Lens Scripting and Editor Scripting APIs, generated from the Lens Studio typings.
Browse the API references
The API used inside a Lens script to respond to touch and tracking, move and render objects, play audio, and reach the internet and Snap services.
The API used in Lens Studio to create plugins: panels, presets, and AI chat tools that edit a project's scene and assets and automate your workflow.
Lens Scripting by category
Each category opens an overview of its APIs: the ones most Lenses use, the guides that use them, and every API grouped by role.
Foundation
Capabilities
Editor Scripting by category
Graph node references
One page per node of Lens Studio's three node-based editors: what the node does, and its inputs and outputs. In the VFX Editor and Material Editor, a node's Learn More link in Lens Studio opens its page here.
- VFX Editor Nodes: the nodes of VFX graphs, the GPU particle systems built in the VFX Editor. To learn the editor, start with Introduction and Concepts.
- Material Editor Nodes: the nodes of material and shader graphs. To learn the editor, start with Introduction and Concepts.
- Visual Scripting Nodes: the nodes of Script Graphs, which script a Lens without code. To learn the editor, start with the Visual Scripting Overview.
Coming next
- Interaction Kit, UI Kit, Tween: the kits' own typings.
- SPECS NDK: the C and C++ API native modules compile against.
Moving off an old API? Deprecated Lens Scripting APIs lists each one with its replacement.
See what changed in each Lens Studio release in the Lens Studio Release Notes.