Kinemium Docs

UIScaleDetector

A modifier class that detects scale changes on a GUI element.

Properties

PropertyTypeDefault
Namestring"UIScaleDetector"
isResizingbooleanfalse
activeHandleanynil
MinSizeVector2Vector2.new(40, 40)
RespectScreenBoundsbooleantrue
newSizeCallbackanynil
_startMouseVector3Vector3.new(0, 0, 0)
_startAbsPosVector2Vector2.new(0, 0)
_startAbsSzVector2Vector2.new(0, 0)

Functions


getParentMetrics

Arguments

parent

Returns

This function returns nothing.

getHandleRect

Arguments

key, absPos, absSize

Returns

This function returns nothing.

API

instance:getParentMetrics(parent)
instance:getHandleRect(key, absPos, absSize)

On this page