GuiService

extends Instance

Class fields

FieldXML typeValue
NamestringGuiService

Properties

8
AutoSelectGuiEnabled
bool
FieldXML typeValue
NamestringAutoSelectGuiEnabled
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

Functions

21
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
GetBrickCount
() → int
FieldXML typeValue
NamestringGetBrickCount
GetClosestDialogToPosition
(position: Vector3) → Instance
FieldXML typeValue
NamestringGetClosestDialogToPosition
GetErrorMessage
() → string
FieldXML typeValue
NamestringGetErrorMessage
GetUiMessage
() → string
FieldXML typeValue
NamestringGetUiMessage
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
SetErrorMessage
(errorMessage: string) → void
FieldXML typeValue
NamestringSetErrorMessage
SetGlobalGuiInset
(x1: int, y1: int, x2: int, y2: int) → void
FieldXML typeValue
NamestringSetGlobalGuiInset
SetMenuIsOpen
(open: bool) → 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

Yield functions

1
GetScreenResolution
() → Vector2
FieldXML typeValue
NamestringGetScreenResolution

Events

9
BrowserWindowClosed
() → void
FieldXML typeValue
NamestringBrowserWindowClosed
ErrorMessageChanged
(newErrorMessage: string) → void
FieldXML typeValue
NamestringErrorMessageChanged
EscapeKeyPressed
() → void
FieldXML typeValue
NamestringEscapeKeyPressed
KeyPressed
(key: string, modifiers: string) → void
FieldXML typeValue
NamestringKeyPressed
MenuClosed
() → void
FieldXML typeValue
NamestringMenuClosed
MenuOpened
() → void
FieldXML typeValue
NamestringMenuOpened
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