Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created May 17, 2017 19:59
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 matthieu-D/6b1931cf92a28cf60f26bf3b5179b41f to your computer and use it in GitHub Desktop.
Save matthieu-D/6b1931cf92a28cf60f26bf3b5179b41f to your computer and use it in GitHub Desktop.
isAnyAnimationRunning(marker) {
if ((marker.animationGroupSelected === null) || (marker.animationGroupIdle === null)) {
return false;
} else {
if ((marker.animationGroupSelected.isRunning() === true) || (marker.animationGroupIdle.isRunning() === true)) {
return true;
} else {
return false;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment