GuiService

extends Instance

69 members

Class fields

FieldXML typeValue
NamestringGuiService

Properties

11
AutoSelectGuiEnabled
bool
FieldXML typeValue
NamestringAutoSelectGuiEnabled
CoreEffectFolder
Object
FieldXML typeValue
NamestringCoreEffectFolder
Browsableboolfalse
CoreGuiFolder
Object
FieldXML typeValue
NamestringCoreGuiFolder
Browsableboolfalse
CoreGuiNavigationEnabled
bool
FieldXML typeValue
NamestringCoreGuiNavigationEnabled
GuiNavigationEnabled
bool
FieldXML typeValue
NamestringGuiNavigationEnabled
IsModalDialog
bool
FieldXML typeValue
NamestringIsModalDialog
IsWindows
bool
FieldXML typeValue
NamestringIsWindows
MenuIsOpen
bool
FieldXML typeValue
NamestringMenuIsOpen
SelectedCoreObject
Object
FieldXML typeValue
NamestringSelectedCoreObject
SelectedObject
Object
FieldXML typeValue
NamestringSelectedObject
TouchControlsEnabled
bool
FieldXML typeValue
NamestringTouchControlsEnabled

Functions

37
AddCenterDialog
(dialog: Instance, centerDialogType: CenterDialogType, showFunction: Function, hideFunction: Function) → void
FieldXML typeValue
NamestringAddCenterDialog
AddKey
(key: string) → void
FieldXML typeValue
NamestringAddKey
AddSelectionParent
(selectionName: string, selectionParent: Instance) → void
FieldXML typeValue
NamestringAddSelectionParent
AddSelectionTuple
(selectionName: string, selections: Tuple) → void
FieldXML typeValue
NamestringAddSelectionTuple
AddSpecialKey
(key: SpecialKey) → void
FieldXML typeValue
NamestringAddSpecialKey
BroadcastNotification
(data: string, notificationType: int) → void
FieldXML typeValue
NamestringBroadcastNotification
ClearError
() → void
FieldXML typeValue
NamestringClearError
CloseInspectMenu
() → void
FieldXML typeValue
NamestringCloseInspectMenu
CloseStatsBasedOnInputString
(input: string) → bool
FieldXML typeValue
NamestringCloseStatsBasedOnInputString
GetBrickCount
() → int
FieldXML typeValue
NamestringGetBrickCount
GetClosestDialogToPosition
(position: Vector3) → Instance
FieldXML typeValue
NamestringGetClosestDialogToPosition
GetErrorCode
() → Instance
FieldXML typeValue
NamestringGetErrorCode
GetErrorMessage
() → string
FieldXML typeValue
NamestringGetErrorMessage
GetErrorType
() → Instance
FieldXML typeValue
NamestringGetErrorType
GetGuiInset
() → Tuple
FieldXML typeValue
NamestringGetGuiInset
summarystringReturns a Tuple containing two Vector2 values representing the offset of user GUIs in pixels from the top right corner of the screen and the bottom right corner of the screen respectively.
GetGuiIsVisible
(guiType: GuiType) → bool
FieldXML typeValue
NamestringGetGuiIsVisible
GetInspectMenuEnabled
() → bool
FieldXML typeValue
NamestringGetInspectMenuEnabled
GetNotificationTypeList
() → Dictionary
FieldXML typeValue
NamestringGetNotificationTypeList
GetResolutionScale
() → int
FieldXML typeValue
NamestringGetResolutionScale
GetUiMessage
() → string
FieldXML typeValue
NamestringGetUiMessage
InspectPlayerFromUserIdWithCtx
(userId: int64, ctx: string) → void
FieldXML typeValue
NamestringInspectPlayerFromUserIdWithCtx
IsMemoryTrackerEnabled
() → bool
FieldXML typeValue
NamestringIsMemoryTrackerEnabled
IsTenFootInterface
() → bool
FieldXML typeValue
NamestringIsTenFootInterface
OpenBrowserWindow
(url: string) → void
FieldXML typeValue
NamestringOpenBrowserWindow
RemoveCenterDialog
(dialog: Instance) → void
FieldXML typeValue
NamestringRemoveCenterDialog
RemoveKey
(key: string) → void
FieldXML typeValue
NamestringRemoveKey
RemoveSelectionGroup
(selectionName: string) → void
FieldXML typeValue
NamestringRemoveSelectionGroup
RemoveSpecialKey
(key: SpecialKey) → void
FieldXML typeValue
NamestringRemoveSpecialKey
Select
(selectionParent: Instance) → void
FieldXML typeValue
NamestringSelect
SetEmotesMenuOpen
(isOpen: bool) → void
FieldXML typeValue
NamestringSetEmotesMenuOpen
SetErrorMessage
(errorMessage: string) → void
FieldXML typeValue
NamestringSetErrorMessage
SetGlobalGuiInset
(x1: int, y1: int, x2: int, y2: int) → void
FieldXML typeValue
NamestringSetGlobalGuiInset
SetMenuIsOpen
(open: bool, menuName: string = …) → void
FieldXML typeValue
NamestringSetMenuIsOpen
SetUiMessage
(msgType: UiMessageType, uiMessage: string) → void
FieldXML typeValue
NamestringSetUiMessage
ShowStatsBasedOnInputString
(input: string) → bool
FieldXML typeValue
NamestringShowStatsBasedOnInputString
ToggleFullscreen
() → void
FieldXML typeValue
NamestringToggleFullscreen
ToggleGuiIsVisibleIfAllowed
(guiType: GuiType) → void
FieldXML typeValue
NamestringToggleGuiIsVisibleIfAllowed

Yield functions

1
GetScreenResolution
() → Vector2
FieldXML typeValue
NamestringGetScreenResolution

Events

19
BrowserWindowClosed
() → void
FieldXML typeValue
NamestringBrowserWindowClosed
CloseInspectMenuRequest
() → void
FieldXML typeValue
NamestringCloseInspectMenuRequest
CoreGuiRenderOverflowed
() → void
FieldXML typeValue
NamestringCoreGuiRenderOverflowed
EmotesMenuOpenChanged
(isOpen: bool) → void
FieldXML typeValue
NamestringEmotesMenuOpenChanged
ErrorMessageChanged
(newErrorMessage: string) → void
FieldXML typeValue
NamestringErrorMessageChanged
EscapeKeyPressed
() → void
FieldXML typeValue
NamestringEscapeKeyPressed
GuiVisibilityChangedSignal
(guiType: GuiType, visible: bool) → void
FieldXML typeValue
NamestringGuiVisibilityChangedSignal
InspectMenuEnabledChangedSignal
(enabled: bool) → void
FieldXML typeValue
NamestringInspectMenuEnabledChangedSignal
InspectPlayerFromHumanoidDescriptionRequest
(humanoidDescription: Instance, name: string) → void
FieldXML typeValue
NamestringInspectPlayerFromHumanoidDescriptionRequest
InspectPlayerFromUserIdWithCtxRequest
(userId: int64, ctx: string) → void
FieldXML typeValue
NamestringInspectPlayerFromUserIdWithCtxRequest
KeyPressed
(key: string, modifiers: string) → void
FieldXML typeValue
NamestringKeyPressed
MenuClosed
() → void
FieldXML typeValue
NamestringMenuClosed
MenuOpened
() → void
FieldXML typeValue
NamestringMenuOpened
NativeClose
() → void
FieldXML typeValue
NamestringNativeClose
NetworkPausedEnabledChanged
(enabled: bool) → void
FieldXML typeValue
NamestringNetworkPausedEnabledChanged
Open9SliceEditor
() → void
FieldXML typeValue
NamestringOpen9SliceEditor
ShowLeaveConfirmation
() → void
FieldXML typeValue
NamestringShowLeaveConfirmation
SpecialKeyPressed
(key: SpecialKey, modifiers: string) → void
FieldXML typeValue
NamestringSpecialKeyPressed
UiMessageChanged
(msgType: UiMessageType, newUiMessage: string) → void
FieldXML typeValue
NamestringUiMessageChanged

Callbacks

1
SendCoreUiNotification
(title: string, text: string) → void
FieldXML typeValue
NamestringSendCoreUiNotification