Tween:Cancel() and Tween:Pause() don't work

I’m using TweenService to tween the Scale of a SpecialMesh, and when I call Cancel or Pause on my tween x seconds after playing it, nothing happens and it still continues playing.

Here’s the TweenInfo I’m using:

local TWEEN_BOOMING = TweenInfo.new(
1/3,
Enum.EasingStyle.Quint,
Enum.EasingDirection.Out,
8,
true,
0.03)

And below is the tween object I’m creating; where mesh is a SpecialMesh inside a part.
local tween3 = TweenService:Create(mesh, TWEEN_BOOMING, {Scale = Vector3.new(1,1,1)})

thanks for the report! Can you post an rbxl that repros the behavior you are describing?

Here’s a repro: repro.rbxl (14.0 KB)

The issue seems to be that cancel/pause only work if TweenInfo’s delayTime is zero – this happens with all tweens and not just ones played over meshes.

Also, another bug that can be observed with this file is that tweens complete instantly if played when the game is first run. Remove the wait(3) in the script and the tween will complete instantly.

2 Likes

I have a fix in our system now, should be live in a couple of weeks.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.