Skip to content

Instantly share code, notes, and snippets.

@marshallmurphy
Created July 5, 2021 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marshallmurphy/7389650461fbae042ded6ec9c25959eb to your computer and use it in GitHub Desktop.
Save marshallmurphy/7389650461fbae042ded6ec9c25959eb to your computer and use it in GitHub Desktop.
const animate = () => {
let start = sequence.segments[0];
let stop = sequence.segments[1];
// do stuff here
setSequence({
segments: [start, stop],
forceFlag: true
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment