Add button in iframe pano that triggers scene transition

You can always use the extension Hype Global Behavior as it doesn't require any coding and works across all Hype documents and iFrames …

Your code should also work but you nested it wrong:

var hypeDocument = Object.values(window.parent.HYPE.documents)[0];
var symbolInstance = hypeDocument.getSymbolInstanceById('YOUR_SYMBOL_ID');

symbolInstance.continueTimelineNamed('timelineName', hypeDocument.kDirectionForward, false);
1 Like