AutoScale Docs
  • Overview
  • Pricing
  • Download
  • FAQ
  • Documentation
    • Plugin Usage
    • Developer Module
  • Changelogs
    • AutoScale
Powered by GitBook
On this page
  • Copyright Notice
  • Getting Started
  • Unit Conversion Functions

Was this helpful?

  1. Documentation

Developer Module

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

PreviousPlugin UsageNextAutoScale

Last updated 3 years ago

Was this helpful?

Copyright Notice

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

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.

Roblox Link