Skip to content

Instantly share code, notes, and snippets.

@frankyston
Created October 30, 2020 20:25
Show Gist options
  • Select an option

  • Save frankyston/952488cdb3987c2bc5ba45551cfbbc8c to your computer and use it in GitHub Desktop.

Select an option

Save frankyston/952488cdb3987c2bc5ba45551cfbbc8c to your computer and use it in GitHub Desktop.
Pin Animated for FoundryVTT
let params =
[{
filterType: "transform",
filterId: "myTransform",
padding: 30,
animated:
{
translationY:
{
animType: "sinOscillation",
val1: -0,
val2: +0.10,
loopDuration: 1500
}
}
}];
TokenMagic.addUpdateFiltersOnSelected(params);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment