Visualize Your Ideas With Code
docs: fix a typo (#344)
ordago42b3369de1ec
diff --git a/packages/docs/docs/getting-started/tweening.mdx b/packages/docs/docs/getting-started/tweening.mdxindex 674bb861..4266dddd 100644--- a/packages/docs/docs/getting-started/tweening.mdx+++ b/packages/docs/docs/getting-started/tweening.mdx@@ -25,7 +25,7 @@ In the example above, we animate the x coordinate of our circle from `-300` toThe [`tween`](/api/core/tweening#tween) function takes two parameters. The firstone specifies the tween duration in seconds. The second is a callback functionthat will be called each frame the tween takes place. The `value` parameter it-recieves is a number ranging from `0` to `1`, informing us about the progress of+receives is a number ranging from `0` to `1`, informing us about the progress ofthe tween. We can use it to calculate the values that our tween animates. In thecase of our circle, we use the `map` function to map the `value` range from`[0, 1]` to `[-300, 300]` and set it as the `x` coordinate: