Roblox Wiki Udim2
Scale is a number between 00 and 10 that is a percentage of the parent objects size.
Roblox wiki udim2. Construct a new udim2 given the coordinates of the two datatypeudim representing each axis. The constructor takes parameters in the order. It will not play if another tween is acting on the guiobject and the override parameter is false. A udim consists of a scale and an offset.
Udim2new udim x udim y construct a new udim2 given two datatypeudim objects representing the x and y dimensions respectively. Gui origin udim2 guis have the origin of udim2new0000 where the size and positions have scales and offsets of 0 on both axes. Udim2fromscale number xscale number yscale. Xscale xoffset yscale yoffset.
These are used to figure out where exactly the udims position is. This function will return whether the tween will play. In lua userdata is data that cannot be described in any of the other basic lua types. Data typesbasic lua typesnil boolean number string function.
Udim stands for universal dimension and uses 2 coordinates. The difference between a udim and udim2 is that a udim2 represents a two dimensional plane with x and y coordinates while a udim only accounts for one coordinate. Smoothly moves a gui to a new datatypeudim2 position in the specified time using the specified enumeasingdirectioneasingdirection and enumeasingstyleeasingstyle.