in components/scene.tsx [55:63]
function triggerAnimation(objectName: string) {
if (spline.current) {
try {
spline.current.emitEvent("mouseDown", objectName);
} catch (error) {
console.error("Failed to trigger animation:", error);
}
}
}