# Scripting in Composites (Optimized) – 2025.23 Source: `help-portal-6f7a3c387b7d4efcabcf95990884d4a5.md` (Add Scripts to Your Composites). ## Add scripts to a composite 1. Hover over the composite in the Outline. 2. Click the **Edit Scripts** (⚙) icon. 3. Select an available event. 4. Write scripts for that event. ## Available APIs - Standard composite APIs for behavior/properties. - Interface functions defined in the composite; value help lists available functions. ## Implementation notes - Scripts are per-event on the composite. - Use interface functions to coordinate with host story/components.