Skip to content

Instantly share code, notes, and snippets.

@worldoptimizer
Created September 15, 2020 15:10
Show Gist options
  • Save worldoptimizer/9d6954e038de3e7b9ff12f3ebf52a190 to your computer and use it in GitHub Desktop.
Save worldoptimizer/9d6954e038de3e7b9ff12f3ebf52a190 to your computer and use it in GitHub Desktop.
If you need to create a directional pause this little timeline action should be helpful.
if ( hypeDocument.currentDirectionForTimelineNamed(event.timelineName) == hypeDocument.kDirectionForward) {
hypeDocument.pauseTimelineNamed(event.timelineName);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment