Are there any reliable & simple methods to trigger hype animations such as when a website button is triggered or a section scrolls into view. I am no JS / hype ninja, but I can copy and paste scripts very efficiently . I am playing around with webflow hype embeds as a side project.
<button type="button" onclick ="HYPE.documents['scenes-transitions'].showSceneNamed('Scene2',HYPE.documents['scenes-transitions'].kSceneTransitionPushRightToLeft);">
Show Scene 2 (Push Right to Left)
</button>
The above code assumes you had a document embedded with the export name scenes-transitions.