1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

include

Several action slot input bindings are predefined by Roblox and, in the future, the Input Action Manager will allow you to reconfigure default input bindings for action slots as desired. Setting ActionSlot to 0 will choose the next available empty slot. On mobile devices, slots 1-7 populate to buttons on the screen (see diagram below).

Slot Keyboard & Mouse Gamepad Touch Default Assignment
`1` [`Space`](/docs/enum-keycode#space) [`ButtonA`](/docs/enum-keycode#buttona) ① Jump
`2` [`LeftShift`](/docs/enum-keycode#leftshift) [`ButtonL1`](/docs/enum-keycode#buttonl1) ② Sprint
`3` [`LeftControl`](/docs/enum-keycode#leftcontrol) [`ButtonB`](/docs/enum-keycode#buttonb) ③ Crouch
`4` [`R`](/docs/enum-keycode#r) [`ButtonX`](/docs/enum-keycode#buttonx) ④
`5` [`MouseLeftButton`](/docs/enum-keycode#mouseleftbutton) [`ButtonR2`](/docs/enum-keycode#buttonr2) ⑤
`6` [`Q`](/docs/enum-keycode#q) [`ButtonY`](/docs/enum-keycode#buttony) ⑥
`7` [`X`](/docs/enum-keycode#x) [`ButtonR1`](/docs/enum-keycode#buttonr1) ⑦
`8` [`C`](/docs/enum-keycode#c) [`ButtonL2`](/docs/enum-keycode#buttonl2)
`9` [`F`](/docs/enum-keycode#f) [`DPadLeft`](/docs/enum-keycode#dpadleft)
`10` [`G`](/docs/enum-keycode#g) [`DPadRight`](/docs/enum-keycode#dpadright)
`11` [`V`](/docs/enum-keycode#v) [`DPadDown`](/docs/enum-keycode#dpaddown)