TransformGui
Methods#
new#
Description:
Creates the TransformGui class.
Params:
guiObject: the gui object that you want the module to control.
ignoreGuiInsetEnabled: whether the ScreenGui's IgnoreGuiInset property is enabled.
makeDraggable#
Description:
Enables the TransformGui object to be moved with the mouse.
makeResizeable#
Description:
Enables the TransformGui object to be resized from the edges.
Events#
onDragBegin#
Description:
Fires when the user starts dragging the guiObject.
onDragChanged#
Description:
Fires when the user drags the guiObject after it has started being dragged.
onDragEnded#
Description:
Fires when the user finishes dragging the guiObject.
onResizeBegin#
Description:
Fires when the user starts resizing the guiObject.
onResizeChanged#
Description:
Fires when the user resizes the guiObject after it has started being resized.
onResizeEnded#
Description:
Fires when the user finishes resizing the guiObject.