Jump to specific frame in another scenes timeline

Hi everyone.

im new to Hype 3 but love it. At this moment I struggle to get this to work properly, so I have 2 different scenes! When I click an object in scene 1 I want it to start another scene but not from the beginning but a specific time on a specific timeline.

I tried it with a javascript which works when I use full seconds to jump to. I want to jump to a specific frame and don’t know the correct syntax for this.

Right now it looks like this:

hypeDocument.showSceneNamed('scene2', hypeDocument.kSceneTransitionCrossfade, 0);
hypeDocument.goToTimeInTimelineNamed(1, 'test')

hypeDocument.stopTimelineNamed('test', hypeDocument.kDirectionForward, false);

I want to take out the “1” in goToTimeInTimelineNamed and put in e.g. “00:00,29”

Is this possible?

Thanks in advance!

FYI - my programing skills are VERY basic :slight_smile:

3 posts were merged into an existing topic: How to jump to the specific timeline of a scene from another scene by element On Mouse Click?