Owl.Util.Action.CreateActionMap(config: table, priority?: number, createTouchButtons?: boolean, extensions?: any[]): ActionMap

Client Only

Compiles 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.
priority
number
Internal ContextAction priority configuration hierarchy context value level index.
createTouchButtons
boolean
Determines whether standard on-screen digital interface control layers are automatically injected on mobile platforms.
extensions
any[]
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)