Roblox Udim2. As the heading says i want to get the X offset value of a udim2 so that i can reduce it by 20% now if the udim2 value = {0.2,0},{0.5,0} Then I'm trying to get the scale values of UDim2 of a gui so that I can offset its position. How will I be able to do this?
I'm trying to get the scale values of UDim2 of a gui so that I can offset its position. How will I be able to do this?
Hi! I need a hand, I have read the documentation and seen some posts in the forum but it has not been very helpful, someone could explain to me what it is
As a Roblox developer, it is currently too hard to create UDim2s from vectors When doing math related to ui it's generally easier to perform
As the heading says i want to get the X offset value of a udim2 so that i can reduce it by 20% now if the udim2 value = {0.2,0},{0.5,0} Then
A UDim2 is a combination of two UDims, one for X and one for Y. It's used for setting the size and position of UI elements. https://developer.roblox.com/en-us/
Size - UDim2.new(0.2,0,0,0) if script.Parent.Size <= UDim2.new(1.172, 0,0.52, 0) then break end end Why does this come up with an error?
Exactly what the title says, I am confused on how to do this, I am trying to multiply my offset size by 4 but nothing seem to work.
The UDim2 data type represents a two-dimensional value where each dimension is composed of a relative scale and an absolute offset. for a coordinate used in
Keep it simple and clear! I want to save a UDim2 Value and then load it; What is the issue? Include screenshots / videos if possible! The saving
Here I have an imageLabel I want to set a textLabel's position to the imageLabel's position with a slight offset. But it wont work here is my code;