is it possible to pause animation from useAnimatedImageValue #2251
-
is it possible to pause animation from useAnimatedImageValue I try to create simple game using image animation but when game is over or some how I want to create bird pause animation. thank you const bird = useAnimatedImageValue(require('./sprites/bird.gif'))
useEffect(() => {
if (isGameOver) {
// bird.pause()
}
}, [isGameOver]) |
Beta Was this translation helpful? Give feedback.
Answered by
wcandillon
Apr 9, 2024
Replies: 1 comment 1 reply
-
that's a good point, I've added an issue for it: #2348 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zoom2009
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
that's a good point, I've added an issue for it: #2348