The GuiObject class inherits from GuiBase2d. It is a structural class to which all the properties and methods that are common to all GUI classes belong. These classes include Frame, GuiButton, GuiLabel, ImageButton, and ImageLabel.
Contents
- 1 Properties
- 2 Methods
- 2.1 TweenPosition(endPosition: UDim2, easingDirection: EasingDirection = Out, easingStyle: EasingStyle = Quad, time: float = 1, override: bool = false, callback: Function = nil): bool
- 2.2 TweenSize(endSize: UDim2, easingDirection: EasingDirection = Out, easingStyle: EasingStyle = Quad, time: float = 1, override: bool = false, callback: Function = nil): bool
- 2.3 TweenSizeAndPosition(endSize: UDim2, endPosition: UDim2, easingDirection: EasingDirection = Out, easingStyle: EasingStyle = Quad, time: float = 1, override: bool = false, callback: Function = nil): bool
- 3 Events
- 3.1
DragBegin(initialPosition: UDim2)
- 3.2
DragStopped(x: int, y: int)
- 3.3 InputBegan(input: InputObject)
- 3.4 InputChanged(input: InputObject)
- 3.5 InputEnded(input: InputObject)
- 3.6 MouseEnter(x: int, y: int)
- 3.7 MouseLeave(x: int, y: int)
- 3.8 MouseMoved(x: int, y: int)
- 3.9 MouseWheelBackward(x: int, y: int)
- 3.10 MouseWheelForward(x: int, y: int)
- 3.11 SelectionGained()
- 3.12 SelectionLost()
- 3.13 TouchLongPress(touchPositions: Array, state: UserInputState)
- 3.14 TouchPan(touchPositions: Array, totalTranslation: Vector2, velocity: Vector2, state: UserInputState)
- 3.15 TouchPinch(touchPositions: Array, scale: float, velocity: float, state: UserInputState)
- 3.16 TouchRotate(touchPositions: Array, rotation: float, velocity: float, state: UserInputState)
- 3.17 TouchSwipe(swipeDirection: SwipeDirection, numberOfTouches: int)
- 3.18 TouchTap(touchPositions: Array)
- 4 Removed members
- 5 External links
Properties
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can load only.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
The background transparency of the GuiObject.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can load only.
- Thread safety: read safe
Indicates the color of the border surrounding the GUI object. This value will be overridden by UIStroke objects.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
Indicates the thickness of the GUI object's border.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Behavior.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Behavior.
- Serialization: can save and load.
- Thread safety: read safe
- Category: State.
- Serialization: can save only.
- Thread safety: read safe
Indicates whether or not this object and its descendants can be interacted with.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Selection.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Selection.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Selection.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Selection.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Selection.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Appearance.
- Serialization: can save and load.
- Thread safety: read safe
- Category: Selection.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
- Category: Data.
- Serialization: can load only.
- Thread safety: read safe
Indicates whether or not the GUI object can be seen and interacted with by the client.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
This API member has existing documentation in this page's Member list template.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
Methods
Events
ParametersName | Type |
---|
initialPosition | UDim2 |
ParametersName | Type |
---|
x | int |
y | int |
ParametersName | Type |
---|
x | int |
y | int |
ParametersName | Type |
---|
x | int |
y | int |
ParametersName | Type |
---|
x | int |
y | int |
ParametersName | Type |
---|
x | int |
y | int |
ParametersName | Type |
---|
x | int |
y | int |
TouchTap(touchPositions: Array)
ParametersName | Type |
---|
touchPositions | Array |
Removed members
External links[]