diff --git a/src/document/migrate-scene-document.ts b/src/document/migrate-scene-document.ts index 9134695f..6d21fb45 100644 --- a/src/document/migrate-scene-document.ts +++ b/src/document/migrate-scene-document.ts @@ -850,7 +850,8 @@ function readInteractionAction(value: unknown, label: string): InteractionLink[" return createPlayAnimationInteractionLink({ sourceEntityId: "interaction-source-placeholder", targetModelInstanceId, - clipName + clipName, + loop: value.loop === undefined ? undefined : expectBoolean(value.loop, `${label}.loop`) }).action; } case "stopAnimation": {