The Code API allows you to seamlessly integrate interactive 3D experiences into your projects, offering greater control and customization. It enables you to trigger actions, modify object properties, and create dynamic, responsive 3D environments directly from your existing code and user interface.Documentation Index
Fetch the complete documentation index at: https://docs.spline.design/llms.txt
Use this file to discover all available pages before exploring further.
Important: The Code API is a set of tools for developers to add custom interactivity between Spline scenes and their custom code. This is different from the Real-time API feature, which is a feature that allows the creation of API connections with your Spline scenes, all made within the Spline editor.
Learn more: Real-time API
Key capabilities:
This is a high-level overview of the key capabilities with CodeAPI, for more specific capabilities go to relevant library documentation below.
- Adjust variables: Retrive and update variables in a Spline scene.
- Adjust Properties: Dynamically update position, scale, rotation, and more.
- Trigger Transitions: Create transitions and animations based on events.
- Event Listeners: React to real-time events within your 3D scenes.

