Accepted answer


The right way of getting the value for an animated value is with a listener.

Because the official docs say:

addListener(...) Adds an asynchronous listener to the value so you can observe updates from animations. This is useful because there is no way to synchronously read the value because it might be driven natively.

If the animation is driven by the native layer, we can not really get it synchronously. So let's always use addListener(value => {/*our logic to use value*/}).


You can simply access the value as console.log(interpolatedValueY.__getValue())

Related Query

More Query from same tag