Developer Module

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

Do not attempt to release a public plugin using this module, only use it in games or private plugins.

Getting Started

Import the module from the link below

Roblox Link

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.

This developer module may use outdated methods of unit converting. AutoScale plugins use the latest methods.

Last updated