I have a Hype document that has 6 scenes and 4 layouts for each scene. I have a button in each scene that allows the user to go to a layout. If the user then progresses to the next scene the document resizes to the layout that is appropriate for the viewport of the device being used.
I need to keep the user in the same layout as they decide to progress.
I think that I need to detect and store the layout (hypedocument.currentLayoutName() ) and have that available to the document and then create a function that does 2 things. Goes to the next scene and stay in the same layout.
I am not sure how to structure this though - I have only used very basic functions in Hype so far.
Thanks in advance for any assistance.