Developer Module

Allows you to write custom code to scale UI in your game using AutoScale's basic built-in features

triangle-exclamation

Getting Started

Import the module from the link below

Roblox Linkarrow-up-right

Once you've taken the model and inserted into your game, require it from your main script.

local AutoScaleModule = require(directory)

Unit Conversion Functions

AutoScaleModule.ToOffsetPos(guiobject)
or
AutoScaleModule.ToScalePos(guiobject)

Converts position of guiobject to offset/scale.

AutoScaleModule.ToScaleSize(guiobject)
or
AutoScaleModule.ToOffsetSize(guiobject)

Converts position of GUIObjects to offset/scale.

circle-exclamation

Last updated