Udim2 roblox. It will not play if another tween is acting on the guiobject and the override parameter is false. A udim2 which is basically two udims universal dimensions being represented within the same object is a lua object which stores information about the size and position of gui elements. Scale is a number between 00 and 10 that is a percentage of the parent objects size. It is a combination of two datatypeudim representing the x and y dimensions.
These graphs use the in easingdirection. The constructor takes parameters in the. The value this represents is scaled relative to the axis that this udim is representing in a udim2. Datatype index udim2 a udim2 is a type of coordinate used in building user interfaces.
These are used to figure out where exactly the udims position is. Udim stands for universal dimension and uses 2 coordinates. Udim2new is for moving gui. A udim consists of a scale and an offset.
For example if the parent object is 50 pixels wide a udim scale of 05 would be 25 pixels wide. Smoothly moves a gui to a new datatypeudim2 position in the specified time using the specified enumeasingdirectioneasingdirection and enumeasingstyleeasingstyle. However i suggest not building a completely new udim2 and just keeping a single lua supported number local counter 35 for i 1750 do wait mfsize udim2new0 0 0 counter counter counter 1 end. This function will return whether the tween will play.
Each easing style is described in a graph below. The easingstyle enum determines the way in which tweenservice tweening will act. 05 makes the size cover 50 of its. The x axis is a value passed to tweenservicegetvalue and the y axis is the value returned.