Skip to Content
Game ReferencesInstructional Buttons
Report an error
Open in ChatGPTOpen in Claude

Instructional Buttons

Instructional buttons are the on-screen button prompts shown to players (e.g., “Press E to Enter”). They use the instructional_buttons scaleform and map to control IDs. Build prompts from input tokens instead of hard-coded key names so the displayed button follows each player’s keyboard or controller mapping.

Quick Usage

-- Show instructional buttons using scaleform local scaleform = RequestScaleformMovie("instructional_buttons") while not HasScaleformMovieLoaded(scaleform) do Wait(0) end BeginScaleformMovieMethod(scaleform, "CLEAR_ALL") EndScaleformMovieMethod() BeginScaleformMovieMethod(scaleform, "SET_DATA_SLOT") ScaleformMovieMethodAddParamInt(0) -- Slot index ScaleformMovieMethodAddParamPlayerNameString("~INPUT_CONTEXT~") -- Button BeginTextCommandScaleformString("STRING") AddTextComponentSubstringPlayerName("Interact") EndTextCommandScaleformString() EndScaleformMovieMethod() BeginScaleformMovieMethod(scaleform, "DRAW_INSTRUCTIONAL_BUTTONS") EndScaleformMovieMethod() DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 255, 0)

All Instructional Buttons

Official source · Snapshot: · Download complete JSON

73 of 73 entries

Icon list
IDName
0Arrow Up
1Arrow Down
2Arrow Left
3Arrow Right
4Dpad up
5Dpad down
6Dpad left
7Dpad right
8Dpad
9Dpad all
10Dpad up down
11Dpad left right
12Left stick up
13Left stick down
14Left stick left
15Left stick down
16Left stick
17Left stick
18Left stick up down
19Left stick left right
20Left stick clockwise
21Right stick up
22Right stick down
23Right stick left
24Right stick right
25Right stick
26Right stick
27Right stick up down
28Right stick left right
29Right stick clockwise
30A
31B
32X
33Y
34RB
35LT
36RB
37RT
38Start
39Select

Source scope and usage notes

The three local illustrations correspond to non-clickable buttons, clickable buttons and icon-based buttons. Request and await the Scaleform before assigning slots. SET_DATA_SLOT has two extra mouse parameters only when TOGGLE_MOUSE_BUTTONS is enabled; passing them in non-mouse mode can produce broken prompts. Draw while the interaction is active and release the movie afterward.

Images are served from this repository, not hotlinked. Empty source fields and unknown identifiers are retained as unknown. View the official source  or download the complete dataset.