How to jump to scene with specific timeline? 🤔


#1

I created new scene and customized it.
I setup to button “jump to scene” action.
How can I setup jump to the scene but not to the main timeline.
Can I do this?

Here is what I mean:


(Aleksander) #2

Check this,

Specific_Timeline_FUV.hype.zip (21.8 KB):blush:


(Aleksander) #3

You need a function in the trigger button.

For example:

hypeDocument.showSceneNamed('Home', hypeDocument.kSceneTransitionPushLeftToRight, 1.1)
hypeDocument.goToTimeInTimelineNamed(2.0, 'HideToolBar')

I used 2.0 in the time. Possibly, you will need other time in your project.


#4

Thanks @Fuv🤗


(networkguru) #5

i have a question, in the example the scene pause in 00:00,15 and in the code you use 2.0, i try to make the same with 1 scene , i try to pause un 00:04,12 and the code i write 4.12 , then this work jump to scene in this second but not stop, play again in the begin, (i make the pause in this second) i dont understand what is the problem @Fuv please help


#6

@mauricio Can you share your project? Did you change also name in javascript to your scene name?