Skip to content

Actions ​

Inherits Instance.

A service: the global Actions is the game's one Actions.

Methods ​

  • BindAction(actionName: string, functionToBind: (actionName: string, inputState: EnumUserInputState, inputObject: InputObject) -> EnumContextActionResult?, createTouchButton: boolean, ...: EnumKeyCode | EnumUserInputType): ()
  • BindActionAtPriority(actionName: string, functionToBind: (actionName: string, inputState: EnumUserInputState, inputObject: InputObject) -> EnumContextActionResult?, createTouchButton: boolean, priorityLevel: number | EnumContextActionPriority, ...: EnumKeyCode | EnumUserInputType): ()
  • GetAllBoundActionInfo(): {[string]: {inputTypes: {EnumKeyCode | EnumUserInputType}, priorityLevel: number, stackOrder: number}}
  • GetBoundActionInfo(actionName: string): {inputTypes: {EnumKeyCode | EnumUserInputType}, priorityLevel: number, stackOrder: number}
  • UnbindAction(actionName: string): ()
  • UnbindAllActions(): ()

Inherited ​

From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.

Apache License 2.0