From 4086b74f997c94bfbef626c155f71cbd1d1bb531 Mon Sep 17 00:00:00 2001 From: Michael Casebolt Date: Thu, 15 Jun 2017 13:10:29 -0700 Subject: [PATCH] Add warning note about the `chain` method. --- docs/user_guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user_guide.md b/docs/user_guide.md index f45e873..76611b5 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -163,6 +163,8 @@ In other cases, you may want to chain multiple tweens to another tween in a way tweenA.chain(tweenB,tweenC); ```` +> WARNING: Calling `tweenA.chain(tweenB)` actually modifies tweenA so that tweenB is always started when tweenA finishes. The return value of `chain` is just tweenA, not a new tween. + ### `repeat` If you wanted a tween to repeat forever you could chain it to itself, but a better way is to use the `repeat` method. It accepts a parameter that describes how many repetitions you want: