Shortcuts


There are a huge number of keyboard shortcuts available for GameMaker Studio 2, and although most of them are marked in the IDE beside the menu items that they relate too, not all of them are or are obvious to the user at the start. Here you can find a complete list of all the keyboard shortcuts for an easy reference guide. In general, shortcuts fall into the following three categories:

Below is the complete list of shortcuts, broken in to sections based on editors:

Windows Key Binding macOS Key Binding Scope Description
f1 f1 General Launch the help file
f5 f5 General Run the current project using the current target settings
f6 f6 General Run the current project using the debug module
CTRL + f7 CMD + f7 General Clean the compiler cache
CTRL + f8 CMD + f8 General Create an executable package using the current target settings
ALT + L ALT + L General Language Select
CTRL + N CMD + N General Open the Start Page
CTRL + Z CMD + Z General Global Undo
CTRL + Y CMD + Y General Global Redo
CTRL + E CMD + E General Export the current project as a YYZ file
CTRL + S CMD + S General Save the current project
CTRL + SHIFT + S CMD + SHIFT + S General Save the current project using "Save as"
CTRL + O CMD + O General Load a project from disk
CTRL + F CMD + F General Open search in scripts
CTRL + SHIFT + F CMD + SHIFT + F General Open the search window
CTRL + SHIFT + P CMD + SHIFT + P General Open the preferences window
CTRL + SHIFT + T CMD + SHIFT + T General Open the texture group manager
CTRL + SHIFT + [Num0 ... Num9] CMD + CTRL + [Num0 ... Num9] General Set or remove a bookmark from 0 to 9
CTRL + [Num0 ... Num9] CMD + [Num0 ... Num9] General Go to the bookmark from 0 to 9
CTRL + ALT + Enter CMD + ALT + Enter General Pan and zoom in the currently active window
CTRL + ALT + Up Arrow CMD + ALT + Up General Move to the next window up
CTRL + ALT + Down Arrow CMD + ALT + Down Arrow General Move to the next window down
CTRL + ALT + Left Arrow CMD + ALT + Left Arrow General Move to the next window left
CTRL + ALT + Right Arrow CMD + ALT + Right Arrow General Move to the next window right
CTRL + ALT + Up + Left Arrow CMD + ALT + Up + Left Arrow General Move to the next window up and left
CTRL + ALT + Down + Left Arrow CMD + ALT + Down + Left Arrow General Move to the next window down and left
CTRL + ALT + Up + Right Arrow CMD + ALT + Up + Right Arrow General Move to the next window up and right
CTRL + ALT + Down + Right Arrow CMD + ALT + Down + Right Arrow General Move to the next window down and right
ALT + f4 ALT + f4 General Exit the IDE
ALT + L ALT + L General Select the language to use for the IDE
ALT + SHIFT + S ALT + SHIFT + S General Open the source control (Git) settings

f12 f12 Docks Expand / Collapse all active docks in the workspace (manually contracted docks will not expand)
SHIFT + f12 SHIFT + f12 Docks Force expansion of all docks in the workspace

CTRL + W CMD + W Workspace Close current tab
CTRL + T CMD + T Workspace Opens the Goto window to search the workspaces
CTRL + Tab CMD + Tab Workspace Open workspace overview
CTRL + PageUp CMD + PageUp Workspace Focused window next tab
CTRL + PageDown CMD + PageDown Workspace Focused window previous tab
CTRL + Enter / Numpad Enter CMD + Enter / Numpad Enter Workspace Reset workspace zoom (with no animated transition)
CTRL + Plus(+) / Numpad Plus CMD + Plus(+) / Numpad Plus Workspace Zoom in the workspace
CTRL + Minus(-) / Numpad Minus CMD + Minus(-) / Numpad Minus Workspace Zoom out the workspace

f2 f2 Resource Tree Rename the selected resource
Backspace Backspace Resource Tree Delete the selected resource(s)
ALT + S ALT + S Resource Tree Create a new sprite resource
ALT + U ALT + U Resource Tree Create a new sound resource
ALT + B ALT + B Resource Tree Create a new tile set resource
ALT + P ALT + P Resource Tree Create a new path resource
ALT + C ALT + C Resource Tree Create a new script resource
ALT + A ALT + A Resource Tree Create a new shader resource
ALT + F ALT + F Resource Tree Create a new font resource
ALT + T ALT + T Resource Tree Create a new timeline resource
ALT + O ALT + O Resource Tree Create a new object resource
ALT + R ALT + R Resource Tree Create a new room resource
ALT + I ALT + I Resource Tree Create a new included data file resource
ALT + N ALT + N Resource Tree Create a new note resource
ALT + E ALT + E Resource Tree Create a new extension resource

Windows Key Binding macOS Key Binding Scope Description
Backspace Backspace Path Editor Remove selected points from the path
T T Path Editor Holding down this key then clicking and dragging will translate the whole path
R R Path Editor Holding down this key then clicking and dragging will rotate the whole path
S S Path Editor Holding down this key then clicking and dragging will scale the whole path
X X Path Editor Mirror the path
Y Y Path Editor Flip the path
CTRL + P CMD + P Path Editor Pan to the path
CTRL + R CMD + R Path Editor Reverse the path

Windows Key Binding macOS Key Binding Scope Description
CTRL + A CTRL + A Sprite Editor Select all frames in the frame view
CTRL + C CTRL + C Sprite Editor Copy the selected frames
CTRL + V CTRL + V Sprite Editor Paste the selected frames
Backspace Backspace Sprite Editor Delete the selected frames
Insert or SHIFT + A Insert or SHIFT + A Sprite Editor Add a new frame onto the end of the frame list
SHIFT + A SHIFT + A Sprite Editor Add a new frame onto the end of the frame list

Windows Key Binding macOS Key Binding Scope Description
Escape Escape General Deselect selected tiles
Plus(+) / Numpad Plus Plus(+) / Numpad Plus General Increase brush size
Minus(-) / Numpad Minus Minus(-) / Numpad Minus General Decrease brush size
X X General Mirror the tile
Y Y General Flip the tile

Backspace Backspace Auto-tile / Animations Delete the current focused auto-tile or animation set
f2 f2 Auto-tile / Animations Rename the current focused auto-tile or animation set

Insert Insert Animations Add a new animation
Up Arrow Up Arrow Animations Select the previous animation set
Down Arrow Down Arrow Animations Select the next animation set
Left Arrow Left Arrow Animations Select the previous animation frame
Right Arrow Right Arrow Animations Select the next animation frame
SHIFT + Up Arrow SHIFT + Up Arrow Animations Move the current animation set up
SHIFT + Down Arrow SHIFT + Down Arrow Animations Move the current animation set down
SHIFT + Left Arrow SHIFT + Left Arrow Animations Move the current animation frame left
SHIFT + Right Arrow SHIFT + Right Arrow Animations Move the current animation frame right

Windows Key Binding macOS Key Binding Scope Description
Escape Escape General Cancel current selection / break in progress arc or polygon
O O General Open the colour picker
f2 f2 General Rename Layer
CTRL + S CMD + S General Save image
CTRL + X CMD + X General Cut selection
CTRL + C CMD + C General Copy selection / copy frame
CTRL + V CMD + V General Paste clipboard to brush / paste copied frame
CTRL + SHIFT + A CMD + SHIFT + A General Import image

Delete Delete Frame View Delete the selected frames in the frame view
Insert Insert Frame View Add a frame
SHIFT + A SHIFT + A Frame View Add an empty frame
(keyboard) 1 (keyboard) 1 Frame View Previous frame
(keyboard) 2 (keyboard) 2 Frame View Next frame
Numberpad 0 Numberpad 0 Frame View Increase playback speed
Numberpad 9 Numberpad 9 Frame View Decrease playback speed
Numberpad 3 Numberpad 3 Frame View Toggle animation playback off/on
Numberpad 4 Numberpad 4 Frame View Toggle ping-pong animation playback off/on

B B Toolbox Toggle between the preset and the selection brush
D D Toolbox Select the draw (pencil) tool
E E Toolbox Select the eraser tool
F F Toolbox Select the fill tool
L L Toolbox Select the line tool
A A Toolbox Select the arc tool
R R Toolbox Select the rectangle tool
C C Toolbox Select the ellipse tool
P P Toolbox Select the polygon tool
T T Toolbox Select the text tool
S S Toolbox Select the rectangle selection tool
Q Q Toolbox Select the paint selection tool
W W Toolbox Select the magic wand
M M Toolbox Select the pan tool
U U Toolbox Select the rotate tool
Z Z Toolbox Rotate the current brush 90°
X X Toolbox Mirror the current brush along the X axis
Y Y Toolbox Flip the current brush along the Y axis
SHIFT + R SHIFT + R Toolbox Select the filled rectangle tool
SHIFT + C SHIFT + C Toolbox Select the filled ellipse tool
SHIFT + P SHIFT + P Toolbox Select the filled polygon tool
SHIFT + Z SHIFT + Z Toolbox Stretch / scale current brush
Plus(+) / Numpad Plus Plus(+) / Numpad Plus Toolbox Increase current brush size
Minus(-) / Numpad Minus Minus(-) / Numpad Minus Toolbox Decrease current brush size
SHIFT + Plus (+) SHIFT + Plus (+) Toolbox Increase size of current brush with smoothing (interpolation)
SHIFT + Minus (-) SHIFT + Minus (-) Toolbox Decrease size of current brush with smoothing (interpolation)
Period (.) Period (.) Toolbox Select brush
CTRL CMD Toolbox Toggle colour picker tool while held down

G G Canvas Toggles the grid overlay
CTRL + G CMD + G Canvas Toggle grid snap on/off
ALT + V ALT + V Canvas Toggle vertical split view
ALT + H ALT + H Canvas Toggle horizontal split view
ALT + C ALT + C Canvas Center image with unit scale
ALT + F ALT + F Canvas Center image and scale to fill current view
CTRL + A CMD + A Canvas Select All
CTRL + SHIFT + I CMD + SHIFT + I Canvas Invert selection
Arrow Up Arrow Up Canvas Move selected pixels 1pixel up
Arrow Down Arrow Down Canvas Move selected pixels 1pixel down
Arrow Left Arrow Left Canvas Move selected pixels 1pixel left
Arrow Right Arrow Right Canvas Move selected pixels 1pixel right
CTRL + Plus (+) CMD + Plus (+) Canvas Zoom in the canvas view
CTRL + Minus (-) CMD + Minus (-) Canvas Zoom out the canvas view

Windows Key Binding macOS Key Binding Scope Description
P P General Holding this down while clicking will enable the "select from any layer" option. Releasing it will disable it again
CTRL +ALT + G CMD + ALT + G General Toggle grid snap
CTRL + X CMD + X General Cut selected items from the current layer
CTRL + C CMD + C General Copy selected items from the current layer
CTRL + V CMD + V General Paste clipboard items into the current layer
CTRL + ALT + R CMD + ALT + R General Open the room properties window
CTRL + ALT + P CMD + ALT + P General Open the layer properties window
CTRL + ALT + L CMD + ALT + L General Open the layer view window
CTRL + ALT + I CMD + ALT + I General Open the instance creation order window

T T Path Layer Editor Holding down this key then clicking and dragging will translate the whole path
R R Path Layer Editor Holding down this key then clicking and dragging will rotate the whole path
S S Path Layer Editor Holding down this key then clicking and dragging will scale the whole path
X X Path Layer Editor Mirror the path
Y Y Path Layer Editor Flip the path

D D Tile Layer Editor Select the Pencil draw tool
E E Tile Layer Editor Select the Eraser draw tool
F F Tile Layer Editor Select the Fill draw tool
L L Tile Layer Editor Select the Line draw tool
R R Tile Layer Editor Select the Rectangle draw tool
S S Tile Layer Editor Select the tile Selection tool
A A Tile Layer Editor Select the Autotile tool
I I Tile Layer Editor Select the tile Inheritance tool
X X Tile Layer Editor Mirror the tile or brush
Y Y Tile Layer Editor Flip the tile or brush
Z Z Tile Layer Editor Rotate the tile or brush 90°

Left Arrow Left Arrow Room Canvas Move selected items left
Right Arrow Right Arrow Room Canvas Move selected items right
Up Arrow Up Arrow Room Canvas Move selected items up
Down Arrow Down Arrow Room Canvas Move selected items down

Windows Key Binding macOS Key Binding Scope Description
Insert Insert General Add a moment to the timeline
Backspace Backspace General Delete selected moments from the timeline
CTRL + X CMD + X General Cut selected moments from the timeline
CTRL + C CMD + C General Copy selected moments from the timeline
CTRL + V CMD + V General Paste clipboard moments to the timeline
CTRL + E CMD + E General Change the selected moment
CTRL + R CMD + R General Change the selected moment description
CTRL + D CMD + D General Duplicate the selected moment
CTRL + M CMD + M General Merge the selected moments
CTRL + A CMD + A General Select all moments
CTRL + U CMD + U General Un-select all moments
ALT + Enter ALT + Enter General Edit all selected moments

Windows Key Binding macOS Key Binding Scope Description
ALT ALT General Holding ALT while clicking and dragging will select columns of text
HOME HOME General Skip the cursor to the start of the script or event
END END General Skip the cursor to the end of the script or event
CTRL + M CMD + M General Fold all open regions
CTRL + U CMD + U General Unfold all regions
CTRL + Enter CMD + Enter General Toggle a region between folded/unfolded states
CTRL + Up Arrow CMD + Up Arrow General Go to the previous region
CTRL + Down Arrow CMD + Down Arrow General Go to the next region
CTRL + C CMD + C General Copy any selected text to the clipboard
CTRL + X CMD + X General Cut any selected text to the clipboard
CTRL + V CMD + V General Paste any text from the clipboard into the editor
CTRL + D CMD + D General Duplicate the current line (or multiple lines if they have been selected)
CTRL + K CMD + K General Comment out the selected line (or lines) of text
CTRL + F CMD + F General Open local search box
CTRL + H CMD + H General Open local search and replace box
CTRL + SHIFT + K CMD + SHIFT + K General Uncomment the selected line (or lines) of text
f4 f4 General Open up the code snippets menu
f7 f7 General Decrease the font size in any of the code editors
f8 f8 General Increase the font size in any of the code editors
f9 f9 General Set a break point

Windows Key Binding macOS Key Binding Scope Description
Backspace Backspace General Delete currently focused object editor item

CTRL + D CMD + D Event Editor Duplicate the selected event
CTRL + C CMD + C Event Editor Copy the selected event to the clipboard
CTRL + X CMD + X Event Editor Cut any selected events to the clipboard
CTRL + V CMD + V Event Editor Paste any events from the clipboard into the editor

F9 F9 DnD™ Editor Cancel the current selection
Escape Escape DnD™ Editor Cancel the current selection
Backspace Backspace DnD™ Editor Delete all selected actions
CTRL + A CMD + A DnD™ Editor Select all actions in the workspace
CTRL + K CMD + K DnD™ Editor Toggle enabled/disabled for selected actions
CTRL + C CMD + C DnD™ Editor Copy any selected actions to the clipboard
CTRL + X CMD + X DnD™ Editor Cut any selected actions to the clipboard
CTRL + V CMD + V DnD™ Editor Paste any actions from the clipboard into the editor
CTRL + P CMD + P DnD™ Editor Pan to the specified action

Windows Key Binding macOS Key Binding Scope Description
f5 f5 General This starts the game again after it has been paused
ESCAPE ESCAPE General Pauses the game
f9 f9 General Add/remove a breakpoint to the line the cursor is on
f10 f10 General Step over a code block or script
f11 f11 General Step into a code block or script
SHIFT + f11 SHIFT + f11 General Step out of a code block or script