Glorpia Docs
Scripting / API

Enums & Input

Enum values used by Glorpia scripting and UserInputService.

CameraMode

NameTypeDescription
Enum.CameraMode.ClassicEnum.CameraModeNormal built-in camera zoom behaviour.
Enum.CameraMode.LockFirstPersonEnum.CameraModeKeeps the built-in Custom camera in first person.

CameraType

NameTypeDescription
Enum.CameraType.CustomEnum.CameraTypeDefault. The Core CameraScript controls the active Camera.
Enum.CameraType.ScriptableEnum.CameraTypeBuilt-in camera behaviour is disabled so creator LocalScripts can control the Camera and camera input directly.

PartShape

NameTypeDescription
Enum.PartShape.BlockEnum.PartShapeRectangular part.
Enum.PartShape.BallEnum.PartShapeSpherical or ellipsoid part.
Enum.PartShape.CylinderEnum.PartShapeY-axis cylinder.
Enum.PartShape.WedgeEnum.PartShapeTriangular-prism wedge with a sloped top face.
Enum.PartShape.CornerWedgeEnum.PartShapeCorner wedge with two perpendicular sloped sides meeting at one raised corner.

Font

NameTypeDescription
Enum.Font.MetropolisEnum.FontMetropolis font family and the TextLabel default.
Enum.Font.ArimaEnum.FontArima font family.
Enum.Font.ArimoEnum.FontArimo font family.
Enum.Font.AudiowideEnum.FontAudiowide font family.
Enum.Font.BasicEnum.FontBasic font family.
Enum.Font.CantarellEnum.FontCantarell font family.
Enum.Font.CinzelEnum.FontCinzel font family.
Enum.Font.ComicReliefEnum.FontComic Relief font family.
Enum.Font.CommissionerEnum.FontCommissioner font family.
Enum.Font.CreepsterEnum.FontCreepster font family.
Enum.Font.EagleLakeEnum.FontEagle Lake font family.
Enum.Font.EaterEnum.FontEater font family.
Enum.Font.FlavorsEnum.FontFlavors font family.
Enum.Font.FontdinerSwankyEnum.FontFontdiner Swanky font family.
Enum.Font.GrandHotelEnum.FontGrand Hotel font family.
Enum.Font.HennyPennyEnum.FontHenny Penny font family.
Enum.Font.IBMPlexMonoEnum.FontIBM Plex Mono font family.
Enum.Font.JollyLodgerEnum.FontJolly Lodger font family.
Enum.Font.JotiOneEnum.FontJoti One font family.
Enum.Font.KnewaveEnum.FontKnewave font family.
Enum.Font.PasseroOneEnum.FontPassero One font family.
Enum.Font.RowdiesEnum.FontRowdies font family.
Enum.Font.RubikDistressedEnum.FontRubik Distressed font family.
Enum.Font.ShortStackEnum.FontShort Stack font family.
Enum.Font.SilkscreenEnum.FontSilkscreen font family.
Enum.Font.BytesizedEnum.FontBytesized font family.
Enum.Font.DynaPuffEnum.FontDynaPuff font family.
Enum.Font.FiraCodeEnum.FontFira Code font family.
Enum.Font.LobsterTwoEnum.FontLobster Two font family.
Enum.Font.MatemasieEnum.FontMatemasie font family.
Enum.Font.MiltonianEnum.FontMiltonian font family.
Enum.Font.MonotonEnum.FontMonoton font family.
Enum.Font.MontserratEnum.FontMontserrat font family.
Enum.Font.OswaldEnum.FontOswald font family.
Enum.Font.PermanentMarkerEnum.FontPermanent Marker font family.
Enum.Font.PressStart2PEnum.FontPress Start 2P font family.
Enum.Font.RubikEnum.FontRubik font family.
Enum.Font.RubikWetPaintEnum.FontRubik Wet Paint font family.
Enum.Font.RyeEnum.FontRye font family.
Enum.Font.Tiny5Enum.FontTiny5 font family.
Enum.Font.AmaticSCEnum.FontAmatic SC font family.
Enum.Font.BangersEnum.FontBangers font family.
Enum.Font.ComicNeueEnum.FontComic Neue font family.
Enum.Font.DenkOneEnum.FontDenk One font family.
Enum.Font.InconsolataEnum.FontInconsolata font family.
Enum.Font.IndieFlowerEnum.FontIndie Flower font family.
Enum.Font.JosefinSansEnum.FontJosefin Sans font family.
Enum.Font.JuraEnum.FontJura font family.
Enum.Font.KalamEnum.FontKalam font family.
Enum.Font.MerriweatherEnum.FontMerriweather font family.
Enum.Font.MichromaEnum.FontMichroma font family.
Enum.Font.NunitoEnum.FontNunito font family.
Enum.Font.PatrickHandEnum.FontPatrick Hand font family.
Enum.Font.RobotoEnum.FontRoboto font family.
Enum.Font.RobotoCondensedEnum.FontRoboto Condensed font family.
Enum.Font.RobotoMonoEnum.FontRoboto Mono font family.
Enum.Font.SarpanchEnum.FontSarpanch font family.
Enum.Font.SourceSans3Enum.FontSource Sans 3 font family.
Enum.Font.SpecialEliteEnum.FontSpecial Elite font family.
Enum.Font.TitilliumWebEnum.FontTitillium Web font family.
Enum.Font.UbuntuEnum.FontUbuntu font family.

FontStyle

NameTypeDescription
Enum.FontStyle.ThinEnum.FontStyleThin style.
Enum.FontStyle.ThinItalicEnum.FontStyleThin italic style.
Enum.FontStyle.ExtraLightEnum.FontStyleExtra Light style.
Enum.FontStyle.ExtraLightItalicEnum.FontStyleExtra Light italic style.
Enum.FontStyle.LightEnum.FontStyleLight style.
Enum.FontStyle.LightItalicEnum.FontStyleLight italic style.
Enum.FontStyle.NormalEnum.FontStyleNormal style and the TextLabel default.
Enum.FontStyle.ItalicEnum.FontStyleItalic style.
Enum.FontStyle.MediumEnum.FontStyleMedium style.
Enum.FontStyle.MediumItalicEnum.FontStyleMedium italic style.
Enum.FontStyle.SemiBoldEnum.FontStyleSemi Bold style.
Enum.FontStyle.SemiBoldItalicEnum.FontStyleSemi Bold italic style.
Enum.FontStyle.BoldEnum.FontStyleBold style.
Enum.FontStyle.BoldItalicEnum.FontStyleBold italic style.
Enum.FontStyle.ExtraBoldEnum.FontStyleExtra Bold style.
Enum.FontStyle.ExtraBoldItalicEnum.FontStyleExtra Bold italic style.
Enum.FontStyle.BlackEnum.FontStyleBlack style.
Enum.FontStyle.BlackItalicEnum.FontStyleBlack italic style.

TextTruncate

NameTypeDescription
Enum.TextTruncate.NoneEnum.TextTruncateDoes not add truncation text. Overflow is clipped by the TextLabel bounds.
Enum.TextTruncate.AtEndEnum.TextTruncateTruncates overflowing text at the end and adds an ellipsis, preferring whole words when possible.
Enum.TextTruncate.SplitWordEnum.TextTruncateTruncates overflowing text at the end and may split a word before adding an ellipsis.

TextDirection

NameTypeDescription
Enum.TextDirection.AutoEnum.TextDirectionDetects left-to-right or right-to-left direction from the text.
Enum.TextDirection.LeftToRightEnum.TextDirectionForces left-to-right text flow.
Enum.TextDirection.RightToLeftEnum.TextDirectionForces right-to-left text flow.

TextXAlignment

NameTypeDescription
Enum.TextXAlignment.LeftEnum.TextXAlignmentAligns text to the left edge of its GUI bounds.
Enum.TextXAlignment.CenterEnum.TextXAlignmentCentres text horizontally. This is the default.
Enum.TextXAlignment.RightEnum.TextXAlignmentAligns text to the right edge of its GUI bounds.

TextYAlignment

NameTypeDescription
Enum.TextYAlignment.TopEnum.TextYAlignmentAligns text to the top edge of its GUI bounds.
Enum.TextYAlignment.CenterEnum.TextYAlignmentCentres text vertically. This is the default.
Enum.TextYAlignment.BottomEnum.TextYAlignmentAligns text to the bottom edge of its GUI bounds.

BorderMode

NameTypeDescription
Enum.BorderMode.OutlineEnum.BorderModeDraws the border outside the GUI object's bounds.
Enum.BorderMode.MiddleEnum.BorderModeCentres the border on the GUI object's bounds.
Enum.BorderMode.InsetEnum.BorderModeDraws the border inside the GUI object's bounds.

FillDirection

NameTypeDescription
Enum.FillDirection.HorizontalEnum.FillDirectionArranges or fills items from left to right before continuing on the next row or column as applicable.
Enum.FillDirection.VerticalEnum.FillDirectionArranges or fills items from top to bottom before continuing on the next column or row as applicable.

HorizontalAlignment

NameTypeDescription
Enum.HorizontalAlignment.LeftEnum.HorizontalAlignmentAligns layout content to the left side of the parent.
Enum.HorizontalAlignment.CenterEnum.HorizontalAlignmentCentres layout content horizontally in the parent.
Enum.HorizontalAlignment.RightEnum.HorizontalAlignmentAligns layout content to the right side of the parent.

VerticalAlignment

NameTypeDescription
Enum.VerticalAlignment.TopEnum.VerticalAlignmentAligns layout content to the top of the parent.
Enum.VerticalAlignment.CenterEnum.VerticalAlignmentCentres layout content vertically in the parent.
Enum.VerticalAlignment.BottomEnum.VerticalAlignmentAligns layout content to the bottom of the parent.

StartCorner

NameTypeDescription
Enum.StartCorner.TopLeftEnum.StartCornerBegins UIGridLayout placement at the top-left corner.
Enum.StartCorner.TopRightEnum.StartCornerBegins UIGridLayout placement at the top-right corner.
Enum.StartCorner.BottomLeftEnum.StartCornerBegins UIGridLayout placement at the bottom-left corner.
Enum.StartCorner.BottomRightEnum.StartCornerBegins UIGridLayout placement at the bottom-right corner.

FollowMode

NameTypeDescription
Enum.FollowMode.CompanionEnum.FollowModeFollows a Player but stops a short distance away. This is the default FollowPlayer mode.
Enum.FollowMode.ChaseEnum.FollowModeContinuously walks toward the center of the Player character without a companion stopping distance.

FollowBrain

NameTypeDescription
Enum.FollowBrain.DumbEnum.FollowBrainUses the original direct FollowPlayer movement. This is the default FollowPlayer brain.
Enum.FollowBrain.SmartEnum.FollowBrainUses obstacle-aware following with vertical-height-aware gap jumps, safe small and large ledge drops, large-area doorway/bridge routing, wall/corner clearance, automatic obstacle jumping, nearest-ladder search and ladder climbing.

NetworkReliability

NameTypeDescription
Enum.NetworkReliability.ReliableEnum.NetworkReliabilityKeeps ordered delivery using Glorpia's reliable transport.
Enum.NetworkReliability.UnreliableEnum.NetworkReliabilityAllows older pending packets for the same remote and target to be discarded when newer traffic supersedes them.

RemotePayload

NameTypeDescription
Enum.RemotePayload.DefaultEnum.RemotePayloadAllows every supported RemoteEvent and RemoteFunction payload type.
Enum.RemotePayload.CustomEnum.RemotePayloadEnforces the remote's AllowedPayloadTypes list.

NetworkPriority

NameTypeDescription
Enum.NetworkPriority.DefaultEnum.NetworkPriorityNormal remote traffic priority.
Enum.NetworkPriority.HighEnum.NetworkPriorityHighest creator-selected remote traffic priority.
Enum.NetworkPriority.MediumEnum.NetworkPriorityHigher priority than Default, below High.
Enum.NetworkPriority.LowEnum.NetworkPriorityLowest remote traffic priority for non-urgent signals.

BasicSound.SoundName

NameTypeDescription
Enum.BasicSound.BubblePopEnum.BasicSound.SoundNameBubblePop.
Enum.BasicSound.MonkeyPartyEnum.BasicSound.SoundNameMonkey Party.
Enum.BasicSound.AquaFrenzyEnum.BasicSound.SoundNameAqua Frenzy.
Enum.BasicSound.PartyMusicEnum.BasicSound.SoundNameParty Music.
Enum.BasicSound.ChiptronicalEnum.BasicSound.SoundNameChiptronical.
Enum.BasicSound.ZeroProjectEnum.BasicSound.SoundNameZero Project.
Enum.BasicSound.JingleBellsEnum.BasicSound.SoundNameJingle Bells.
Enum.BasicSound.SantaMagicEnum.BasicSound.SoundNameSanta Magic.
Enum.BasicSound.SpookyGamesEnum.BasicSound.SoundNameSpooky Games.
Enum.BasicSound.MysticalHalloweenEnum.BasicSound.SoundNameMystical Halloween.
Enum.BasicSound.HalloweenSpookEnum.BasicSound.SoundNameHalloween Spook.
Enum.BasicSound.HolidaySpiritEnum.BasicSound.SoundNameHoliday Spirit.
Enum.BasicSound.MorningMoodEnum.BasicSound.SoundNameMorning Mood.
Enum.BasicSound.GymnopedieNo1Enum.BasicSound.SoundNameGymnopédie No. 1.
Enum.BasicSound.LacrimosaEnum.BasicSound.SoundNameLacrimosa.
Enum.BasicSound.HallelujahEnum.BasicSound.SoundNameHallelujah.
Enum.BasicSound.HallOfTheMountainKingEnum.BasicSound.SoundNameHall of the Mountain King.
Enum.BasicSound.TheEntertainerEnum.BasicSound.SoundNameThe Entertainer.
Enum.BasicSound.InvincibleEnum.BasicSound.SoundNameInvincible.
Enum.BasicSound.CurbYourEnthusiasmEnum.BasicSound.SoundNameCurb Your Enthusiasm.
Enum.BasicSound.EntryOfTheGladiatorsEnum.BasicSound.SoundNameEntry of the Gladiators.
Enum.BasicSound.DistractionDanceEnum.BasicSound.SoundNameDistraction Dance.
Enum.BasicSound.YouGotJebaitedEnum.BasicSound.SoundNameYou Got Jebaited.
Luau
local sound = Instance.new("BasicSound")
sound.Sound = Enum.BasicSound.PartyMusic

KeyCode

NameTypeDescription
Enum.KeyCode.NoneEnum.KeyCodeNo keyboard key.
Enum.KeyCode.BackspaceEnum.KeyCodeBackspace keyboard key.
Enum.KeyCode.TabEnum.KeyCodeTab keyboard key.
Enum.KeyCode.ClearEnum.KeyCodeClear keyboard key.
Enum.KeyCode.ReturnEnum.KeyCodeReturn keyboard key.
Enum.KeyCode.PauseEnum.KeyCodePause keyboard key.
Enum.KeyCode.EscapeEnum.KeyCodeEscape keyboard key.
Enum.KeyCode.SpaceEnum.KeyCodeSpace keyboard key.
Enum.KeyCode.QuotedDoubleEnum.KeyCodeQuotedDouble keyboard key.
Enum.KeyCode.HashEnum.KeyCodeHash keyboard key.
Enum.KeyCode.DollarEnum.KeyCodeDollar keyboard key.
Enum.KeyCode.PercentEnum.KeyCodePercent keyboard key.
Enum.KeyCode.AmpersandEnum.KeyCodeAmpersand keyboard key.
Enum.KeyCode.QuoteEnum.KeyCodeQuote keyboard key.
Enum.KeyCode.LeftParenthesisEnum.KeyCodeLeftParenthesis keyboard key.
Enum.KeyCode.RightParenthesisEnum.KeyCodeRightParenthesis keyboard key.
Enum.KeyCode.AsteriskEnum.KeyCodeAsterisk keyboard key.
Enum.KeyCode.PlusEnum.KeyCodePlus keyboard key.
Enum.KeyCode.CommaEnum.KeyCodeComma keyboard key.
Enum.KeyCode.MinusEnum.KeyCodeMinus keyboard key.
Enum.KeyCode.PeriodEnum.KeyCodePeriod keyboard key.
Enum.KeyCode.SlashEnum.KeyCodeSlash keyboard key.
Enum.KeyCode.ZeroEnum.KeyCodeZero keyboard key.
Enum.KeyCode.OneEnum.KeyCodeOne keyboard key.
Enum.KeyCode.TwoEnum.KeyCodeTwo keyboard key.
Enum.KeyCode.ThreeEnum.KeyCodeThree keyboard key.
Enum.KeyCode.FourEnum.KeyCodeFour keyboard key.
Enum.KeyCode.FiveEnum.KeyCodeFive keyboard key.
Enum.KeyCode.SixEnum.KeyCodeSix keyboard key.
Enum.KeyCode.SevenEnum.KeyCodeSeven keyboard key.
Enum.KeyCode.EightEnum.KeyCodeEight keyboard key.
Enum.KeyCode.NineEnum.KeyCodeNine keyboard key.
Enum.KeyCode.ColonEnum.KeyCodeColon keyboard key.
Enum.KeyCode.SemicolonEnum.KeyCodeSemicolon keyboard key.
Enum.KeyCode.LessThanEnum.KeyCodeLessThan keyboard key.
Enum.KeyCode.EqualsEnum.KeyCodeEquals keyboard key.
Enum.KeyCode.GreaterThanEnum.KeyCodeGreaterThan keyboard key.
Enum.KeyCode.QuestionEnum.KeyCodeQuestion keyboard key.
Enum.KeyCode.AtEnum.KeyCodeAt keyboard key.
Enum.KeyCode.LeftBracketEnum.KeyCodeLeftBracket keyboard key.
Enum.KeyCode.BackSlashEnum.KeyCodeBackSlash keyboard key.
Enum.KeyCode.RightBracketEnum.KeyCodeRightBracket keyboard key.
Enum.KeyCode.CaretEnum.KeyCodeCaret keyboard key.
Enum.KeyCode.UnderscoreEnum.KeyCodeUnderscore keyboard key.
Enum.KeyCode.BackquoteEnum.KeyCodeBackquote keyboard key.
Enum.KeyCode.AEnum.KeyCodeA keyboard key.
Enum.KeyCode.BEnum.KeyCodeB keyboard key.
Enum.KeyCode.CEnum.KeyCodeC keyboard key.
Enum.KeyCode.DEnum.KeyCodeD keyboard key.
Enum.KeyCode.EEnum.KeyCodeE keyboard key.
Enum.KeyCode.FEnum.KeyCodeF keyboard key.
Enum.KeyCode.GEnum.KeyCodeG keyboard key.
Enum.KeyCode.HEnum.KeyCodeH keyboard key.
Enum.KeyCode.IEnum.KeyCodeI keyboard key.
Enum.KeyCode.JEnum.KeyCodeJ keyboard key.
Enum.KeyCode.KEnum.KeyCodeK keyboard key.
Enum.KeyCode.LEnum.KeyCodeL keyboard key.
Enum.KeyCode.MEnum.KeyCodeM keyboard key.
Enum.KeyCode.NEnum.KeyCodeN keyboard key.
Enum.KeyCode.OEnum.KeyCodeO keyboard key.
Enum.KeyCode.PEnum.KeyCodeP keyboard key.
Enum.KeyCode.QEnum.KeyCodeQ keyboard key.
Enum.KeyCode.REnum.KeyCodeR keyboard key.
Enum.KeyCode.SEnum.KeyCodeS keyboard key.
Enum.KeyCode.TEnum.KeyCodeT keyboard key.
Enum.KeyCode.UEnum.KeyCodeU keyboard key.
Enum.KeyCode.VEnum.KeyCodeV keyboard key.
Enum.KeyCode.WEnum.KeyCodeW keyboard key.
Enum.KeyCode.XEnum.KeyCodeX keyboard key.
Enum.KeyCode.YEnum.KeyCodeY keyboard key.
Enum.KeyCode.ZEnum.KeyCodeZ keyboard key.
Enum.KeyCode.LeftCurlyEnum.KeyCodeLeftCurly keyboard key.
Enum.KeyCode.PipeEnum.KeyCodePipe keyboard key.
Enum.KeyCode.RightCurlyEnum.KeyCodeRightCurly keyboard key.
Enum.KeyCode.TildeEnum.KeyCodeTilde keyboard key.
Enum.KeyCode.DeleteEnum.KeyCodeDelete keyboard key.
Enum.KeyCode.KeypadZeroEnum.KeyCodeKeypadZero keyboard key.
Enum.KeyCode.KeypadOneEnum.KeyCodeKeypadOne keyboard key.
Enum.KeyCode.KeypadTwoEnum.KeyCodeKeypadTwo keyboard key.
Enum.KeyCode.KeypadThreeEnum.KeyCodeKeypadThree keyboard key.
Enum.KeyCode.KeypadFourEnum.KeyCodeKeypadFour keyboard key.
Enum.KeyCode.KeypadFiveEnum.KeyCodeKeypadFive keyboard key.
Enum.KeyCode.KeypadSixEnum.KeyCodeKeypadSix keyboard key.
Enum.KeyCode.KeypadSevenEnum.KeyCodeKeypadSeven keyboard key.
Enum.KeyCode.KeypadEightEnum.KeyCodeKeypadEight keyboard key.
Enum.KeyCode.KeypadNineEnum.KeyCodeKeypadNine keyboard key.
Enum.KeyCode.KeypadPeriodEnum.KeyCodeKeypadPeriod keyboard key.
Enum.KeyCode.KeypadDivideEnum.KeyCodeKeypadDivide keyboard key.
Enum.KeyCode.KeypadMultiplyEnum.KeyCodeKeypadMultiply keyboard key.
Enum.KeyCode.KeypadMinusEnum.KeyCodeKeypadMinus keyboard key.
Enum.KeyCode.KeypadPlusEnum.KeyCodeKeypadPlus keyboard key.
Enum.KeyCode.KeypadEnterEnum.KeyCodeKeypadEnter keyboard key.
Enum.KeyCode.KeypadEqualsEnum.KeyCodeKeypadEquals keyboard key.
Enum.KeyCode.UpEnum.KeyCodeUp keyboard key.
Enum.KeyCode.DownEnum.KeyCodeDown keyboard key.
Enum.KeyCode.RightEnum.KeyCodeRight keyboard key.
Enum.KeyCode.LeftEnum.KeyCodeLeft keyboard key.
Enum.KeyCode.InsertEnum.KeyCodeInsert keyboard key.
Enum.KeyCode.HomeEnum.KeyCodeHome keyboard key.
Enum.KeyCode.EndEnum.KeyCodeEnd keyboard key.
Enum.KeyCode.PageUpEnum.KeyCodePageUp keyboard key.
Enum.KeyCode.PageDownEnum.KeyCodePageDown keyboard key.
Enum.KeyCode.F1Enum.KeyCodeF1 keyboard key.
Enum.KeyCode.F2Enum.KeyCodeF2 keyboard key.
Enum.KeyCode.F3Enum.KeyCodeF3 keyboard key.
Enum.KeyCode.F4Enum.KeyCodeF4 keyboard key.
Enum.KeyCode.F5Enum.KeyCodeF5 keyboard key.
Enum.KeyCode.F6Enum.KeyCodeF6 keyboard key.
Enum.KeyCode.F7Enum.KeyCodeF7 keyboard key.
Enum.KeyCode.F8Enum.KeyCodeF8 keyboard key.
Enum.KeyCode.F9Enum.KeyCodeF9 keyboard key.
Enum.KeyCode.F10Enum.KeyCodeF10 keyboard key.
Enum.KeyCode.F11Enum.KeyCodeF11 keyboard key.
Enum.KeyCode.F12Enum.KeyCodeF12 keyboard key.
Enum.KeyCode.F13Enum.KeyCodeF13 keyboard key.
Enum.KeyCode.F14Enum.KeyCodeF14 keyboard key.
Enum.KeyCode.F15Enum.KeyCodeF15 keyboard key.
Enum.KeyCode.NumLockEnum.KeyCodeNumLock keyboard key.
Enum.KeyCode.CapsLockEnum.KeyCodeCapsLock keyboard key.
Enum.KeyCode.ScrollLockEnum.KeyCodeScrollLock keyboard key.
Enum.KeyCode.RightShiftEnum.KeyCodeRightShift keyboard key.
Enum.KeyCode.LeftShiftEnum.KeyCodeLeftShift keyboard key.
Enum.KeyCode.RightControlEnum.KeyCodeRightControl keyboard key.
Enum.KeyCode.LeftControlEnum.KeyCodeLeftControl keyboard key.
Enum.KeyCode.RightAltEnum.KeyCodeRightAlt keyboard key.
Enum.KeyCode.LeftAltEnum.KeyCodeLeftAlt keyboard key.
Enum.KeyCode.RightMetaEnum.KeyCodeRightMeta keyboard key.
Enum.KeyCode.LeftMetaEnum.KeyCodeLeftMeta keyboard key.
Enum.KeyCode.LeftSuperEnum.KeyCodeLeftSuper keyboard key.
Enum.KeyCode.RightSuperEnum.KeyCodeRightSuper keyboard key.
Enum.KeyCode.ModeEnum.KeyCodeMode keyboard key.
Enum.KeyCode.ComposeEnum.KeyCodeCompose keyboard key.
Enum.KeyCode.HelpEnum.KeyCodeHelp keyboard key.
Enum.KeyCode.PrintEnum.KeyCodePrint keyboard key.
Enum.KeyCode.SysReqEnum.KeyCodeSysReq keyboard key.
Enum.KeyCode.BreakEnum.KeyCodeBreak keyboard key.
Enum.KeyCode.MenuEnum.KeyCodeMenu keyboard key.
Enum.KeyCode.PowerEnum.KeyCodePower keyboard key.
Enum.KeyCode.EuroEnum.KeyCodeEuro keyboard key.
Enum.KeyCode.UndoEnum.KeyCodeUndo keyboard key.

UserInputType

NameTypeDescription
Enum.UserInputType.KeyboardEnum.UserInputTypeKeyboard input.
Enum.UserInputType.MouseButton1Enum.UserInputTypePrimary mouse button.
Enum.UserInputType.MouseButton2Enum.UserInputTypeSecondary mouse button.
Enum.UserInputType.MouseButton3Enum.UserInputTypeMiddle mouse button.
Enum.UserInputType.MouseMovementEnum.UserInputTypeMouse movement.
Enum.UserInputType.MouseWheelEnum.UserInputTypeMouse wheel input.

UserInputState

NameTypeDescription
Enum.UserInputState.BeginEnum.UserInputStateInput began.
Enum.UserInputState.ChangeEnum.UserInputStateInput changed.
Enum.UserInputState.EndEnum.UserInputStateInput ended.

MouseBehavior

NameTypeDescription
Enum.MouseBehavior.DefaultEnum.MouseBehaviorNormal cursor behaviour.
Enum.MouseBehavior.LockCenterEnum.MouseBehaviorLocks the cursor to the centre.
Enum.MouseBehavior.LockCurrentPositionEnum.MouseBehaviorLocks the cursor at its current position.

EasingStyle

NameTypeDescription
Enum.EasingStyle.LinearEnum.EasingStyleLinear interpolation.
Enum.EasingStyle.QuadEnum.EasingStyleQuadratic easing.
Enum.EasingStyle.CubicEnum.EasingStyleCubic easing.
Enum.EasingStyle.QuartEnum.EasingStyleQuartic easing.
Enum.EasingStyle.SineEnum.EasingStyleSinusoidal easing.
Enum.EasingStyle.BackEnum.EasingStyleOvershooting back easing.
Enum.EasingStyle.BounceEnum.EasingStyleBouncing easing.

EasingDirection

NameTypeDescription
Enum.EasingDirection.InEnum.EasingDirectionEase at the beginning.
Enum.EasingDirection.OutEnum.EasingDirectionEase at the end.
Enum.EasingDirection.InOutEnum.EasingDirectionEase at both ends.

PlaybackState

NameTypeDescription
Enum.PlaybackState.BeginEnum.PlaybackStateTween has not started.
Enum.PlaybackState.DelayedEnum.PlaybackStateTween is waiting for DelayTime.
Enum.PlaybackState.PlayingEnum.PlaybackStateTween is actively updating.
Enum.PlaybackState.PausedEnum.PlaybackStateTween is paused.
Enum.PlaybackState.CompletedEnum.PlaybackStateTween reached its final state.
Enum.PlaybackState.CancelledEnum.PlaybackStateTween was cancelled or could not update a goal property.

UserInputService

NameTypeDescription
InputBegansignalFires when a supported input begins.
InputChangedsignalFires for changing input such as mouse movement or wheel.
InputEndedsignalFires when a supported input ends.
MouseBehaviorEnum.MouseBehaviorRead/write cursor behaviour.
IsKeyDown(key)methodChecks a supported key enum.
GetMouseDelta()methodReturns a Vector2 mouse delta.
IsMouseButtonPressed(type)methodChecks MouseButton1, MouseButton2 or MouseButton3.
Luau
local UserInputService = game:GetService("UserInputService")

UserInputService.InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.Space then
        print("Space pressed")
    end
end)