Owl.Util.Action.CreateActionMap(config: table, priority?: number, createTouchButtons?: boolean, extensions?: any[]): ActionMap
Client OnlyCompiles a distinct user action structure wrapper matching input conditions to designated input maps safely.
Parameters
config*table | Dictionary specifying a clear 'Name' identifier alongside input tracking key definitions. |
prioritynumber | Internal ContextAction priority configuration hierarchy context value level index. |
createTouchButtonsboolean | Determines whether standard on-screen digital interface control layers are automatically injected on mobile platforms. |
extensionsany[] | Array of reactive extension behaviors. |
Returns
ActionMapAn interactive, chainable action controller configuration node instance.
local CharacterInputMap = Owl.Util.Action.CreateActionMap({
Name = "CharacterMovement",
Actions = {
Sprint = { Enum.KeyCode.LeftShift, Enum.KeyCode.ButtonX },
Jump = { Enum.KeyCode.Space }
}
}, Enum.ContextActionPriority.Medium.Value)