I am implementing a simple slider, basically there are some dots on the bottom of each scene and each dot has an action attached to it (goto scene number).
My problem is that I would like to apply a different transition based on the current selected scene. So for example if I am in scene 1 and I press the 2nd dot then a Push (Right to Left) transition should be applied. Otherwise if I am in scene 2 and I press the 1st dot then a Push (Left to Right) transition should be applied.
Get the current scene name using the hypeDocument.currentSceneName() . And the also use Javascript if else clause or Switch statement to determine and control the slide using: