Roblox API Reference

GuiObject On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This item is not browsable. It is not visible in Studio's object browser.

Tags: [NotCreatable, NotBrowsable]

Inherits (3)

Inherited by (8)

Member index (50)

Type Member History
bool Active
Vector2 AnchorPoint 271
AutomaticSize AutomaticSize 449
BrickColor BackgroundColor
Color3 BackgroundColor3
float BackgroundTransparency
BrickColor BorderColor
Color3 BorderColor3
BorderMode BorderMode 397
int BorderSizePixel
bool ClipsDescendants 48
bool Draggable 330
GuiState GuiState 588
bool Interactable 589
int LayoutOrder 280
GuiObject NextSelectionDown 197 206 206 329 524
GuiObject NextSelectionLeft 197 206 206 329 524
GuiObject NextSelectionRight 197 206 206 329 524
GuiObject NextSelectionUp 197 206 206 329 524
UDim2 Position
float Rotation 131
bool Selectable 201 202 202 524
GuiObject SelectionImageObject 200 329
int SelectionOrder 524 527
UDim2 Size
SizeConstraint SizeConstraint
float Transparency
bool Visible
int ZIndex
bool TweenPosition (UDim2 endPosition, EasingDirection easingDirection = Out, EasingStyle easingStyle = Quad, float time = 1, bool override = false, Function callback = nil)
bool TweenSize (UDim2 endSize, EasingDirection easingDirection = Out, EasingStyle easingStyle = Quad, float time = 1, bool override = false, Function callback = nil)
bool TweenSizeAndPosition (UDim2 endSize, UDim2 endPosition, EasingDirection easingDirection = Out, EasingStyle easingStyle = Quad, float time = 1, bool override = false, Function callback = nil)
DragBegin (UDim2 initialPosition) 71 330
DragStopped (int x, int y) 330
InputBegan (InputObject input) 130 133 138 483
InputChanged (InputObject input) 130 133 138 483
InputEnded (InputObject input) 130 133 138 483
MouseEnter (int x, int y)
MouseLeave (int x, int y)
MouseMoved (int x, int y)
MouseWheelBackward (int x, int y) 69
MouseWheelForward (int x, int y) 69
SelectionGained () 207
SelectionLost () 207
TouchLongPress (Array touchPositions, UserInputState state) 130 131 138
TouchPan (Array touchPositions, Vector2 totalTranslation, Vector2 velocity, UserInputState state) 130 131 138
TouchPinch (Array touchPositions, float scale, float velocity, UserInputState state) 130 131 138
TouchRotate (Array touchPositions, float rotation, float velocity, UserInputState state) 130 131 138
TouchSwipe (SwipeDirection swipeDirection, int numberOfTouches) 130 138
TouchTap (Array touchPositions) 130 131 133
16 members inherited from GuiBase2d
57 members inherited from Instance

Removed member index (2)

Type Member History
float AbsoluteRotation 266 290 290 293
bool SizeFromContents 293 339

History

Members

Active On DevHub

AnchorPoint On DevHub

History

AutomaticSize On DevHub

History

BackgroundColor On DevHub

This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [Hidden, NotReplicated, Deprecated]

BackgroundColor3 On DevHub

BackgroundTransparency On DevHub

BorderColor On DevHub

This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [Hidden, NotReplicated, Deprecated]

BorderColor3 On DevHub

BorderMode On DevHub

History

BorderSizePixel On DevHub

ClipsDescendants On DevHub

History

DragBegin On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
initialPosition UDim2 none

History

Tags: [Deprecated]

DragStopped On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
x int none
y int none

History

Tags: [Deprecated]

Draggable On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.

History

Tags: [Deprecated]

GuiState On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [ReadOnly, NotReplicated]

InputBegan On DevHub

Name Type Default
input InputObject none

History

InputChanged On DevHub

Name Type Default
input InputObject none

History

InputEnded On DevHub

Name Type Default
input InputObject none

History

Interactable On DevHub

History

LayoutOrder On DevHub

History

MouseEnter On DevHub

Name Type Default
x int none
y int none

MouseLeave On DevHub

Name Type Default
x int none
y int none

MouseMoved On DevHub

Name Type Default
x int none
y int none

MouseWheelBackward On DevHub

Name Type Default
x int none
y int none

History

MouseWheelForward On DevHub

Name Type Default
x int none
y int none

History

NextSelectionDown On DevHub

History

NextSelectionLeft On DevHub

History

NextSelectionRight On DevHub

History

NextSelectionUp On DevHub

History

Position On DevHub

Rotation On DevHub

History

Selectable On DevHub

History

SelectionGained On DevHub

Name Type Default
No parameters.

History

SelectionImageObject On DevHub

History

SelectionLost On DevHub

Name Type Default
No parameters.

History

SelectionOrder On DevHub

History

Size On DevHub

SizeConstraint On DevHub

TouchLongPress On DevHub

Name Type Default
touchPositions Array none
state UserInputState none

History

TouchPan On DevHub

Name Type Default
touchPositions Array none
totalTranslation Vector2 none
velocity Vector2 none
state UserInputState none

History

TouchPinch On DevHub

Name Type Default
touchPositions Array none
scale float none
velocity float none
state UserInputState none

History

TouchRotate On DevHub

Name Type Default
touchPositions Array none
rotation float none
velocity float none
state UserInputState none

History

TouchSwipe On DevHub

Name Type Default
swipeDirection SwipeDirection none
numberOfTouches int none

History

TouchTap On DevHub

Name Type Default
touchPositions Array none

History

Transparency On DevHub

This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [Hidden, NotReplicated]

TweenPosition On DevHub

Name Type Default
endPosition UDim2 none
easingDirection EasingDirection Out
easingStyle EasingStyle Quad
time float 1
override bool false
callback Function nil

TweenSize On DevHub

Name Type Default
endSize UDim2 none
easingDirection EasingDirection Out
easingStyle EasingStyle Quad
time float 1
override bool false
callback Function nil

TweenSizeAndPosition On DevHub

Name Type Default
endSize UDim2 none
endPosition UDim2 none
easingDirection EasingDirection Out
easingStyle EasingStyle Quad
time float 1
override bool false
callback Function nil

Visible On DevHub

ZIndex On DevHub

Removed members

AbsoluteRotation

This property is read-only. Its value can be read, but it cannot be modified.

History

Tags: [ReadOnly]

SizeFromContents

History

Relevant classes (2)

Relevant enums (8)

Relevant members (11)