PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

TweenSize

Smoothly resizes a GUI to a new UDim2. This function will return whether the tween will play. Normally this will always return true, but it will return false if another tween is active and override is set to false.

Parameters

Name Type Default Description

The size that the GUI should resize

Out

The direction in which to ease the GUI to the endPosition

Quad

The style in which to ease the GUI to the endPosition

1

How long, in seconds, the tween should take to complete

false

Whether another tween play, cancelling this tween, before the GUI reaches the endPosition

nil

A callback function to execute when the tween completes

Returns

Return Type Summary

Whether the tween will play