Skip to content
Discussion options

You must be logged in to vote

Yes, when using with the latest version of Skia (0.1.193) and Reanimated (3.3.0), you can create an animatable transform as:

const transform = useDerivedValue(() => {
  return [
    { scaleX: scale.value },
    { scaleY: scale.value },
  ]
})

return (
  <Canvas><Group transform={transform}>...</Group></Canvas>
)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@fuzzpedal
Comment options

@khanisak
Comment options

@evoactivity
Comment options

@Neiso
Comment options

Answer selected by wcandillon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants