Save Scene Location (Local storage maybe?)

@Ollie

I have adapted the one from

It will open in v3.

keepSceneAndTimelinedata.hypetemplate.zip (180.8 KB)

3 Likes

Thank you Mark thats great, I will take a look!

1 Like

Here's a version of @dbear's localstorage example that remembers the state of timelines:

// set the point in a timeline
localStorage.switch1time = hypeDocument.currentTimeInTimelineNamed('switch1')

// read it back and set it, if present 
		if (localStorage.switch1time){ // if there is a variable stored (returns true)
			hypeDocument.goToTimeInTimelineNamed(localStorage.switch1time, 'switch1')
		}

localstorage - button toggle.hype.zip (194.4 KB)

2 Likes

Here's a version of @daniel's example of @dbear's localstorage example that remembers the state of timelines without having to hard code scene names or timelines. :grinning:
Can store multiple timelines for the scene.

localstorage - button toggle.hype 2.zip (231.3 KB)

1 Like