Skip to content

Keyboard, mouse and trackpad

One place for every key the Studio and its windows read, and for the mouse and trackpad gestures found in the code. The tables are made from Intrigues’ own key handlers. Unity’s graph view keys (Frame All, Frame Selection, copy, paste, duplicate, delete) are not in them: see Copy, paste, duplicate and undo.

  • You look for a key you saw in a lesson.
  • A key does nothing and you want to know where it is read.
  • You want to rebind the key that opens the Studio.

Cmd or Ctrl. Unity’s action key is Cmd on macOS and Ctrl on Windows and Linux. A key written Cmd or Ctrl plus S shows both.

Where a key works. Most keys work only while the thing they belong to has the keyboard, and not while a text field is typing. Escape, for example, leaves a group’s Focus first, and deselects only after that.

What the tables hold. 83 key sites in the code, grouped by place. The modifiers were read from the code’s conditions. Where one condition holds several keys and a modifier, the data cannot say which belongs to which, and those few rows are written here by hand and marked.

The key that opens the Studio is a normal Unity shortcut named Intrigues/Open Studio, in the category Intrigues. Its default is Cmd or Ctrl plus Shift plus I. Rebind it in Edit > Shortcuts (on macOS, Unity > Shortcuts; to confirm in Unity), or on the Settings page: click the key box, which has the hover text Click, then press the new keys., press the new keys, and Escape cancels. Reset puts the default back.

To undo, use Reset.

Open a scheme and press F5. The test run keys are in the table Test run below.

KeysWhat it doesSource
Cmd or Ctrl plus Shift plus IOpens the Studio on the current database, or on Home when none is open. You can rebind it.Graph/Pages/Settings/StudioShortcut.cs:20
KeysWhat it doesSource
F1 (from the code, by hand)Opens the documentation page for the selection, once a second at most. The data lists extra modifiers here, but the code refuses F1 when Cmd/Ctrl, Shift or Alt is held.Docs/DocLinkActions.cs:106
EscapeLeaves Focus on a group.Graph/GraphCanvas.Focus.cs:207
EscapeEnds the drag of a fold line.Graph/GraphCanvas.Folds.cs:515
Delete, or BackspaceDeletes the selected fold line.Graph/GraphCanvas.Folds.cs:526
EscapeDeselects the fold line.Graph/GraphCanvas.Folds.cs:530
EscapeDuring a drag of nodes: puts them back where the drag started.Graph/GraphCanvas.Groups.cs:272
Cmd or Ctrl plus ECollapses or expands the selected frames, cards and groups of the selected nodes.Graph/GraphCanvas.Groups.cs:520
Cmd or Ctrl plus Alt or Option plus GUngroups the selection.Graph/GraphCanvas.Groups.cs:528
Cmd or Ctrl plus GGroups the selection.Graph/GraphCanvas.Groups.cs:528
ReturnIn the Find field: searches again and marks the matches.Graph/GraphToolbar.cs:147
F1Opens the documentation page for the selection, or for the page you are on.Graph/IntriguesStudioWindow.cs:1017
EscapeDeselects nodes or a table row. It leaves Focus on a group first, unless a text field has the key.Graph/IntriguesStudioWindow.cs:1020
Cmd or Ctrl plus SSaves.Graph/IntriguesStudioWindow.cs:1035
Cmd or Ctrl plus FMoves the keyboard to the Find field.Graph/IntriguesStudioWindow.cs:1040
ReturnName window of the Studio (new item, rename): confirms.Graph/IntriguesStudioWindow.cs:1112
EscapeName window of the Studio (new item, rename): cancels.Graph/IntriguesStudioWindow.cs:1113
EscapeNode Groups panel: cancels the rename.Graph/Panels/NodeGroupsPanel.cs:267
ReturnNode Groups panel: confirms the rename.Graph/Panels/NodeGroupsPanel.cs:268
EscapeIn a search field: clears it, and with nothing typed leaves the field.Graph/Search/StudioSearch.cs:110
Down, or ReturnIn a search field: goes to the first result.Graph/Search/StudioSearch.cs:118
Cmd or Ctrl plus Z, or Cmd or Ctrl plus Y (from the code, by hand)In a search field: the keys are kept from reaching the graph. The data cannot read the modifiers of this site.Graph/Search/StudioSearch.cs:126
EscapeGroup title: cancels the rename.Graph/Views/NodeGroupCard.cs:383
ReturnGroup title: confirms the rename.Graph/Views/NodeGroupCard.cs:388
KeysWhat it doesSource
Return, or SpaceOn the Actor field of the Actor inspector: opens the actor picker.Actor/View/ActorLinkSection.cs:154
UpChoose Actor: moves up the list.Actor/View/ActorPickerWindow.cs:323
DownChoose Actor: moves down the list.Actor/View/ActorPickerWindow.cs:326
ReturnChoose Actor: picks the actor.Actor/View/ActorPickerWindow.cs:330
EscapeChoose Actor: closes the list.Actor/View/ActorPickerWindow.cs:333
Return, or SpaceOpens or closes a collapsible section of the Actor inspector.Actor/View/ActorUI.cs:74
EscapeDismisses the selection shown in the Element Inspector.Graph/Inspector/ElementInspector.cs:120
Space, or ReturnOpens or closes the More options link of a card or section.Graph/Inspector/InspectorBuilder.cs:695
Space, or ReturnOpens or closes a section of the inspector.Graph/Inspector/InspectorBuilder.cs:1736
ReturnSave as a Requirement Set: confirms the name.Graph/Inspector/RequirementSaveAsSet.cs:178
EscapeSave as a Requirement Set: cancels.Graph/Inspector/RequirementSaveAsSet.cs:179
ReturnNew actor variable or list: the hover text says Enter adds it.Graph/Inspector/SchemeGroupInspector.cs:235
EscapeNew actor variable or list: the hover text says Escape cancels.Graph/Inspector/SchemeGroupInspector.cs:243
EscapePicker: Escape goes back, or closes.Graph/Inspector/SearchPicker.cs:384
Up, or Down, or Return, or EscapePicker: Up and Down move, Return picks, Escape goes back or closes.Graph/Inspector/SearchPicker.cs:660
BackspacePicker: in an empty search box, goes back a page like Escape.Graph/Inspector/SearchPicker.cs:663
EscapeCloses the token palette.Graph/Inspector/TextTokenField.cs:993
EscapeWhile dragging to reorder: cancels the drag.Graph/Inspector/ThenAlsoSection.cs:331
ReturnIn the form: finishes, when Return creates.Graph/Mind/PersonalityValues.cs:559
ReturnIn the form: finishes, when Return creates.Graph/Mind/SocialPickers.cs:360
Return, or SpaceOpens or closes a reaction card.Signal/ReactionCard.cs:448
KeysWhat it doesSource
Delete, or BackspaceRemoves the selected cards of the court.Graph/Pages/Court/CourtBoard.cs:702
Cmd or Ctrl plus ASelects all cards of the court.Graph/Pages/Court/CourtBoard.cs:707
ReturnName window of the Court page: confirms.Graph/Pages/Court/CourtInspectors.cs:330
EscapeName window of the Court page: cancels.Graph/Pages/Court/CourtInspectors.cs:331
Delete, or Cmd or Ctrl plus Backspace (from the code, by hand)Deletes the selected item of a definition list. The data cannot read the modifiers of this site.Graph/Pages/Definitions/DefinitionListPage.cs:1113
Cmd or Ctrl plus DDuplicates the selected item of a definition list.Graph/Pages/Definitions/DefinitionListPage.cs:1118
EscapeHides the search results of the Families page.Graph/Pages/FamiliesPage.cs:664
EscapePuts back a card you are dragging in the family tree.Graph/Pages/Family/FamilyTreeView.cs:1190
EscapeSettings: cancels the capture of a new Open Studio key.Graph/Pages/Settings/SettingsView.cs:201
ReturnTexts, Keys tab: adds the named text.Graph/Pages/Texts/KeysTab.cs:95
ReturnTexts, Keys tab: renames the named text everywhere.Graph/Pages/Texts/KeysTab.cs:231
KeysWhat it doesSource
1 to 9Choice card of a test run: picks that numbered choice.SchemeRun/Panel/RunCardLayer.cs:207
Cmd or Ctrl plus Z, or Cmd or Ctrl plus Y (from the code, by hand)While a test run holds the graph: the run answers undo and redo and refuses them. The data cannot read the modifiers of this site.SchemeRun/Panel/RunControls.cs:97
Cmd or Ctrl plus ReturnTest run setup: runs.SchemeRun/Panel/RunSetupWindow.cs:99
EscapeTest run setup: closes the window.SchemeRun/Panel/RunSetupWindow.cs:100
ReturnRun tab, log list: shows the node of the selected log line on the canvas.SchemeRun/Panel/RunTab.cs:129
F5, or Alt or Option plus F5, or Shift plus F5, or F6, or F10, or Cmd or Ctrl plus Return, or Cmd or Ctrl plus Shift plus Return (from the code, by hand)Test run. F5: Run or Run again (where Run is enabled), and Resume while paused. Alt/Option+F5: Run from the selected node. Shift+F5: Stop. F6: Pause or Resume. F10: Step. Cmd/Ctrl+Return: the same as F5 or F6. Cmd/Ctrl+Shift+Return: Restart. Nothing while a text field types or in Play mode.SchemeRun/Panel/RunPanelModel.cs:1340
KeysWhat it doesSource
Space, or ReturnDialogue Preview: Skip. Writes the rest of the text, or goes on past a wait.Dialogue/DialoguePreview.cs:557
RDialogue Preview: Replay.Dialogue/DialoguePreview.cs:561
EscapeMarry: closes the dialog.Graph/World/MarryDialog.cs:658
ReturnMarry: marries, when a partner is picked.Graph/World/MarryDialog.cs:663
ReturnSaves: opens the save with the typed password.Save/SaveInspectorWindow.cs:171
ReturnSprite Database, Rename Everywhere: confirms.SpriteDatabase/SpriteDatabaseWindow.cs:955
EscapeSprite Database, Rename Everywhere: closes.SpriteDatabase/SpriteDatabaseWindow.cs:956
ReturnSprite Database, Add card: adds the sprites.SpriteDatabase/View/AddSpritesCard.cs:85
EscapeSprite Database, Add card: cancels.SpriteDatabase/View/AddSpritesCard.cs:90
ReturnSprite Database, tag field: adds the typed tags.SpriteDatabase/View/DetailsView.cs:162
ReturnSprite Database, category name: confirms.SpriteDatabase/View/SidebarView.cs:164
EscapeSprite Database, category name: cancels.SpriteDatabase/View/SidebarView.cs:170
Cmd or Ctrl plus ASprite Database grid: selects all shown sprites.SpriteDatabase/View/SpriteGrid.cs:361
EscapeSprite Database grid: clears the selection.SpriteDatabase/View/SpriteGrid.cs:367
Delete, or BackspaceSprite Database grid: removes the selected sprites from the database.SpriteDatabase/View/SpriteGrid.cs:371
LeftSprite Database grid: moves left. With Shift it extends the selection.SpriteDatabase/View/SpriteGrid.cs:374
RightSprite Database grid: moves right. With Shift it extends the selection.SpriteDatabase/View/SpriteGrid.cs:377
UpSprite Database grid: moves up. With Shift it extends the selection.SpriteDatabase/View/SpriteGrid.cs:380
DownSprite Database grid: moves down. With Shift it extends the selection.SpriteDatabase/View/SpriteGrid.cs:383
ReturnSprite Database grid: finds the file of the current sprite in the Project window.SpriteDatabase/View/SpriteGrid.cs:387
Return, or SpaceUI Setup: opens the tab that has the keyboard.UIKit/Setup/UIKitSetupWindow.cs:230

The family tree on the Families page has its own key table, which the key sites above do not hold. The keys work while the canvas has the keyboard and no text field is typing. Read from Graph/Pages/Family/FamilyTreeKeys.cs, lines 122 to 133.

Keys What it does
Left Go to the parent
Right Go to the first child; opens a closed branch
Up, Down The card above or below in the same generation
Space Open or close the branch
Shift plus F Focus on the selected person
Escape Leave Focus
Alt or Option plus Left, Alt or Option plus Right Back and Forward
Home The head of the family
Alt or Option plus Up, Alt or Option plus Down Move up or down among brothers and sisters

When the tree is drawn top to bottom, the arrows keep their direction on screen. Up goes to the parent, Down to the first child, and Left and Right move along the generation. Alt/Option+Up and Alt/Option+Down move a person left or right among brothers and sisters. Read from FamilyTreeKeys.cs, lines 305 to 332, and FamilyTreeView.cs:1195.

These rows are read from the code, not generated. Each names the file and line. Gestures of Unity’s own manipulators are marked “to confirm in Unity”.

Gesture Where What it does Source
Wheel, or two fingers on a trackpad A canvas Zooms around the pointer. The scale is clamped. Graph/GraphCanvas.cs:181, :898
Drag on empty space A canvas Pans the view. The button is Unity’s default (to confirm in Unity); the lesson Move around the canvas names it. Graph/GraphCanvas.cs:182
Drag on a node A canvas Moves it, and the selected ones with it (Unity’s manipulator, to confirm in Unity). Graph/GraphCanvas.cs:183
Drag a rectangle on empty space A canvas Selects the nodes in it (to confirm in Unity). Graph/GraphCanvas.cs:184
Double-click a node A canvas Runs the node’s open action. By default nothing happens. A Jump To node selects and frames its Jump Target; a Jump Target selects and frames the first Jump To that points at it. Graph/NodeView.cs:807, Graph/Views/JumpNodeViews.cs:24, :61
Double-click a group’s title A canvas Renames the group. While a test run holds the graph, the edit is refused. Graph/Views/NodeGroupCard.cs:395
Double-click a group’s frame while a test run holds the graph A canvas The edit is refused. Graph/Views/NodeGroupView.cs:175
Click a row, double-click a row Node Groups panel Frames the group; double-click renames it. Graph/Panels/NodeGroupsPanel.cs:308
Double-click a row Actors panel Opens the actor’s node, or adds the actor. Graph/Panels/ActorsPanel.cs:335
Double-click a row World variables panel Opens the variable. Graph/Panels/WorldVariablesPanel.cs:55
Click, Cmd/Ctrl-click, Shift-click, double-click a card Court page Selects; toggles; adds; shows the actor on the Actors page. Graph/Pages/Court/CourtBoard.cs:604, :608
Double-click a hanging mark Family tree Opens that person’s family. Graph/Pages/Family/FamilyTreeMarks.cs:462
Ctrl/Cmd and the wheel Decision diagram Zooms. A plain wheel scrolls. Graph/Mind/DecisionDiagram.cs:1468
Click, Shift-click, Cmd/Ctrl-click, double-click a tile; drag tiles; right-click Sprite Database grid Selects; selects a range; toggles; finds the file; moves to a category; opens the tile menu. SpriteDatabase/View/SpriteGrid.cs:256, :306, :63
Double-click a category Sprite Database Renames it. SpriteDatabase/View/SidebarView.cs:204
Click the picture, click or drag the time bar Dialogue Preview Clicks in the dialogue window; jumps to a moment. Dialogue/DialoguePreview.cs:534, :822
Double-click a partner row Marry Picks and marries. Graph/World/MarryDialog.cs:572
Click an object path UI Setup Selects it in the Hierarchy. UIKit/Setup/UIKitSetupWindow.cs:618

The toolbar controls and their keys are in The toolbar. Moving on the canvas is in Move around the canvas. The test run keys are in Test run. Settings that change the Studio are in Every setting.

A key does nothing. A text field may have the keyboard, or the window you mean is not the one in front. Click the canvas or the list first. In Play mode the test run keys are off.

The Open Studio key clashes. The Settings page names up to three other shortcuts that use the same combination. Choose another.

The Cmd+Alt+Shift+F1 row of the data. The code accepts F1 with no modifier, so the row is written here as F1.