API Region GetScale

Returns the scale of the region.
 scale = Region:GetScale()
 effectiveScale = Region:GetEffectiveScale()
==Returns==
:;scale: - The scale of the region.
:;effectiveScale: - The effective scale after propagating from the parent region. This is equal to f:GetScale() * f:GetParent():GetScale()
==Example==
Scale propagates from a region to its children, unless disabled with .
local parent = CreateFrame("Frame")
parent:SetScale(0.5)
local f = CreateFrame("Frame", nil, parent)
f:SetScale(0.5)
print(f:GetScale()) -- 0.5
print(f:GetEffectiveScale()) -- 0.25
f:SetIgnoreParentScale(true)
print(f:GetEffectiveScale()) -- 0.5
==Patch changes==
===References===