Incorrect info on TweenPosition()

https://developer.roblox.com/en-us/api-reference/function/GuiObject/TweenPosition

Take a look at the “override” parameter in the above link. It says that the “override” parameter determines “Whether the tween can be overridden by another tween before it finishes.”
However, I have tested this, and I found that “override” actually determines if the called tween can override another tween.

You can see it in the attached place. tween.rbxl (16.5 KB)

6 Likes

If the override arg is true, the tween can be overridden (AKA halted to allow another tween to play), Ive tested this case and this case has always been correct.

I think you may want to double check yourself and make sure you have a true understanding of the content before making a post.

1 Like

The Wiki does not make this clear. It makes out that it is up to the original tween to determine if another tween is allowed to override it.

The Wiki should be updated to clear up this confusion.

1 Like

I tested what the override arg says, and it doesn’t work.

If I set a tween with override set to true, then wait 1 second and play a tween without override, it doesn’t cancel the first one.

If I play a tween without override set to true, then wait 1 second and play a tween with override, it works fine. This is the behavior I’ve always been used to and is not what is explained on the wiki.

TweenSize and TweenSizeAndPosition’s override argument is also incorrect on their wiki pages. They say the same thing as TweenPosition but the english is butchered.

2 Likes

Thank you for this catch! Looks like the parameter was indeed wrong and the description is correct. I’ve updated the override parameter description to “Whether the tween will override an in-progress tween”. Also, TweenSize and TweenSizeAndPosition had similar issues fixed.

You should see these pages update tomorrow sometime.

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