How do you value AspectRatio?
Asked by
6 years ago Edited 6 years ago
So I am trying to use AspectRatio on my GUI but it says the value is a float and I can't find any articles on the wiki other then the directed link to numbers which doesn't specify it...
02 | local StarterGui = script.Parent |
03 | local UI = Instance.new( 'UIAspectRatioConstraint' ) |
04 | local image = Instance.new( 'ImageLabel' ) |
07 | image.Parent = screenGui |
for more understanding I'm trying to find out what a float is if anyone could help.
Edit:
When I use Vector2 and a Integer that's positive it errors and says I need a positive value :/
thx,
RoButCantBlox