Skip to main content

AutoScaleFrame

Automatically scales children for the user's screen. 📱💻📺🥽

Types​

AutoScaleFrameProps​

interface AutoScaleFrameProps {
...: BaseProps
BaseResolution: Fusion.UsedAs<Vector2>?
MinScale: Fusion.UsedAs<number>?
MaxScale: Fusion.UsedAs<number>?
ScaleMultiplier: Fusion.UsedAs<number>?
}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "AutoScaleFrameProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "BaseProps",
                    "desc": ""
                },
                {
                    "name": "BaseResolution",
                    "lua_type": "Fusion.UsedAs<Vector2>?",
                    "desc": ""
                },
                {
                    "name": "MinScale",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "MaxScale",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "ScaleMultiplier",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                }
            ],
            "source": {
                "line": 40,
                "path": "src/Components/AutoScaleFrame.luau"
            }
        }
    ],
    "name": "AutoScaleFrame",
    "desc": "Automatically scales children for the user's screen. 📱💻📺🥽",
    "source": {
        "line": 6,
        "path": "src/Components/AutoScaleFrame.luau"
    }
}