Keyboard, mouse and trackpad
What this page is for
Section titled “What this page is for”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.
When you come here
Section titled “When you come here”- 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.
What you see
Section titled “What you see”Cmd or Ctrl. Unity’s action key is Cmd on macOS and Ctrl on Windows and Linux. A key written Cmd or Ctrl plus SCmdCtrlS 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.
Do it, step by step
Section titled “Do it, step by step”Rebind the key that opens the Studio
Section titled “Rebind the key that opens the Studio”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 ICmdCtrlShiftI. 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.
Run a scheme from the keyboard
Section titled “Run a scheme from the keyboard”Open a scheme and press F5F5. The test run keys are in the table Test run below.
The key that opens the Studio
Section titled “The key that opens the Studio”| Keys | What it does | Source |
|---|---|---|
| Cmd or Ctrl plus Shift plus ICmdCtrlShiftI | Opens the Studio on the current database, or on Home when none is open. You can rebind it. | Graph/Pages/Settings/StudioShortcut.cs:20 |
The Studio window and the canvas
Section titled “The Studio window and the canvas”| Keys | What it does | Source |
|---|---|---|
| F1F1 (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 |
| EscapeEscape | Leaves Focus on a group. | Graph/GraphCanvas.Focus.cs:207 |
| EscapeEscape | Ends the drag of a fold line. | Graph/GraphCanvas.Folds.cs:515 |
| Delete, or BackspaceDeleteBackspace | Deletes the selected fold line. | Graph/GraphCanvas.Folds.cs:526 |
| EscapeEscape | Deselects the fold line. | Graph/GraphCanvas.Folds.cs:530 |
| EscapeEscape | During a drag of nodes: puts them back where the drag started. | Graph/GraphCanvas.Groups.cs:272 |
| Cmd or Ctrl plus ECmdCtrlE | Collapses 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 GCmdCtrlAltOptionG | Ungroups the selection. | Graph/GraphCanvas.Groups.cs:528 |
| Cmd or Ctrl plus GCmdCtrlG | Groups the selection. | Graph/GraphCanvas.Groups.cs:528 |
| ReturnReturn | In the Find field: searches again and marks the matches. | Graph/GraphToolbar.cs:147 |
| F1F1 | Opens the documentation page for the selection, or for the page you are on. | Graph/IntriguesStudioWindow.cs:1017 |
| EscapeEscape | Deselects 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 SCmdCtrlS | Saves. | Graph/IntriguesStudioWindow.cs:1035 |
| Cmd or Ctrl plus FCmdCtrlF | Moves the keyboard to the Find field. | Graph/IntriguesStudioWindow.cs:1040 |
| ReturnReturn | Name window of the Studio (new item, rename): confirms. | Graph/IntriguesStudioWindow.cs:1112 |
| EscapeEscape | Name window of the Studio (new item, rename): cancels. | Graph/IntriguesStudioWindow.cs:1113 |
| EscapeEscape | Node Groups panel: cancels the rename. | Graph/Panels/NodeGroupsPanel.cs:267 |
| ReturnReturn | Node Groups panel: confirms the rename. | Graph/Panels/NodeGroupsPanel.cs:268 |
| EscapeEscape | In a search field: clears it, and with nothing typed leaves the field. | Graph/Search/StudioSearch.cs:110 |
| Down, or ReturnDownReturn | In a search field: goes to the first result. | Graph/Search/StudioSearch.cs:118 |
| Cmd or Ctrl plus Z, or Cmd or Ctrl plus YCmdCtrlZCmdCtrlY (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 |
| EscapeEscape | Group title: cancels the rename. | Graph/Views/NodeGroupCard.cs:383 |
| ReturnReturn | Group title: confirms the rename. | Graph/Views/NodeGroupCard.cs:388 |
Inspectors, pickers and forms
Section titled “Inspectors, pickers and forms”| Keys | What it does | Source |
|---|---|---|
| Return, or SpaceReturnSpace | On the Actor field of the Actor inspector: opens the actor picker. | Actor/View/ActorLinkSection.cs:154 |
| UpUp | Choose Actor: moves up the list. | Actor/View/ActorPickerWindow.cs:323 |
| DownDown | Choose Actor: moves down the list. | Actor/View/ActorPickerWindow.cs:326 |
| ReturnReturn | Choose Actor: picks the actor. | Actor/View/ActorPickerWindow.cs:330 |
| EscapeEscape | Choose Actor: closes the list. | Actor/View/ActorPickerWindow.cs:333 |
| Return, or SpaceReturnSpace | Opens or closes a collapsible section of the Actor inspector. | Actor/View/ActorUI.cs:74 |
| EscapeEscape | Dismisses the selection shown in the Element Inspector. | Graph/Inspector/ElementInspector.cs:120 |
| Space, or ReturnSpaceReturn | Opens or closes the More options link of a card or section. | Graph/Inspector/InspectorBuilder.cs:695 |
| Space, or ReturnSpaceReturn | Opens or closes a section of the inspector. | Graph/Inspector/InspectorBuilder.cs:1736 |
| ReturnReturn | Save as a Requirement Set: confirms the name. | Graph/Inspector/RequirementSaveAsSet.cs:178 |
| EscapeEscape | Save as a Requirement Set: cancels. | Graph/Inspector/RequirementSaveAsSet.cs:179 |
| ReturnReturn | New actor variable or list: the hover text says Enter adds it. | Graph/Inspector/SchemeGroupInspector.cs:235 |
| EscapeEscape | New actor variable or list: the hover text says Escape cancels. | Graph/Inspector/SchemeGroupInspector.cs:243 |
| EscapeEscape | Picker: Escape goes back, or closes. | Graph/Inspector/SearchPicker.cs:384 |
| Up, or Down, or Return, or EscapeUpDownReturnEscape | Picker: Up and Down move, Return picks, Escape goes back or closes. | Graph/Inspector/SearchPicker.cs:660 |
| BackspaceBackspace | Picker: in an empty search box, goes back a page like Escape. | Graph/Inspector/SearchPicker.cs:663 |
| EscapeEscape | Closes the token palette. | Graph/Inspector/TextTokenField.cs:993 |
| EscapeEscape | While dragging to reorder: cancels the drag. | Graph/Inspector/ThenAlsoSection.cs:331 |
| ReturnReturn | In the form: finishes, when Return creates. | Graph/Mind/PersonalityValues.cs:559 |
| ReturnReturn | In the form: finishes, when Return creates. | Graph/Mind/SocialPickers.cs:360 |
| Return, or SpaceReturnSpace | Opens or closes a reaction card. | Signal/ReactionCard.cs:448 |
| Keys | What it does | Source |
|---|---|---|
| Delete, or BackspaceDeleteBackspace | Removes the selected cards of the court. | Graph/Pages/Court/CourtBoard.cs:702 |
| Cmd or Ctrl plus ACmdCtrlA | Selects all cards of the court. | Graph/Pages/Court/CourtBoard.cs:707 |
| ReturnReturn | Name window of the Court page: confirms. | Graph/Pages/Court/CourtInspectors.cs:330 |
| EscapeEscape | Name window of the Court page: cancels. | Graph/Pages/Court/CourtInspectors.cs:331 |
| Delete, or Cmd or Ctrl plus BackspaceDeleteCmdCtrlBackspace (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 DCmdCtrlD | Duplicates the selected item of a definition list. | Graph/Pages/Definitions/DefinitionListPage.cs:1118 |
| EscapeEscape | Hides the search results of the Families page. | Graph/Pages/FamiliesPage.cs:664 |
| EscapeEscape | Puts back a card you are dragging in the family tree. | Graph/Pages/Family/FamilyTreeView.cs:1190 |
| EscapeEscape | Settings: cancels the capture of a new Open Studio key. | Graph/Pages/Settings/SettingsView.cs:201 |
| ReturnReturn | Texts, Keys tab: adds the named text. | Graph/Pages/Texts/KeysTab.cs:95 |
| ReturnReturn | Texts, Keys tab: renames the named text everywhere. | Graph/Pages/Texts/KeysTab.cs:231 |
Test run
Section titled “Test run”| Keys | What it does | Source |
|---|---|---|
| 1 to 91 to 9 | Choice card of a test run: picks that numbered choice. | SchemeRun/Panel/RunCardLayer.cs:207 |
| Cmd or Ctrl plus Z, or Cmd or Ctrl plus YCmdCtrlZCmdCtrlY (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 ReturnCmdCtrlReturn | Test run setup: runs. | SchemeRun/Panel/RunSetupWindow.cs:99 |
| EscapeEscape | Test run setup: closes the window. | SchemeRun/Panel/RunSetupWindow.cs:100 |
| ReturnReturn | Run 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 ReturnF5AltOptionF5ShiftF5F6F10CmdCtrlReturnCmdCtrlShiftReturn (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 |
Studio windows
Section titled “Studio windows”| Keys | What it does | Source |
|---|---|---|
| Space, or ReturnSpaceReturn | Dialogue Preview: Skip. Writes the rest of the text, or goes on past a wait. | Dialogue/DialoguePreview.cs:557 |
| RR | Dialogue Preview: Replay. | Dialogue/DialoguePreview.cs:561 |
| EscapeEscape | Marry: closes the dialog. | Graph/World/MarryDialog.cs:658 |
| ReturnReturn | Marry: marries, when a partner is picked. | Graph/World/MarryDialog.cs:663 |
| ReturnReturn | Saves: opens the save with the typed password. | Save/SaveInspectorWindow.cs:171 |
| ReturnReturn | Sprite Database, Rename Everywhere: confirms. | SpriteDatabase/SpriteDatabaseWindow.cs:955 |
| EscapeEscape | Sprite Database, Rename Everywhere: closes. | SpriteDatabase/SpriteDatabaseWindow.cs:956 |
| ReturnReturn | Sprite Database, Add card: adds the sprites. | SpriteDatabase/View/AddSpritesCard.cs:85 |
| EscapeEscape | Sprite Database, Add card: cancels. | SpriteDatabase/View/AddSpritesCard.cs:90 |
| ReturnReturn | Sprite Database, tag field: adds the typed tags. | SpriteDatabase/View/DetailsView.cs:162 |
| ReturnReturn | Sprite Database, category name: confirms. | SpriteDatabase/View/SidebarView.cs:164 |
| EscapeEscape | Sprite Database, category name: cancels. | SpriteDatabase/View/SidebarView.cs:170 |
| Cmd or Ctrl plus ACmdCtrlA | Sprite Database grid: selects all shown sprites. | SpriteDatabase/View/SpriteGrid.cs:361 |
| EscapeEscape | Sprite Database grid: clears the selection. | SpriteDatabase/View/SpriteGrid.cs:367 |
| Delete, or BackspaceDeleteBackspace | Sprite Database grid: removes the selected sprites from the database. | SpriteDatabase/View/SpriteGrid.cs:371 |
| LeftLeft | Sprite Database grid: moves left. With Shift it extends the selection. | SpriteDatabase/View/SpriteGrid.cs:374 |
| RightRight | Sprite Database grid: moves right. With Shift it extends the selection. | SpriteDatabase/View/SpriteGrid.cs:377 |
| UpUp | Sprite Database grid: moves up. With Shift it extends the selection. | SpriteDatabase/View/SpriteGrid.cs:380 |
| DownDown | Sprite Database grid: moves down. With Shift it extends the selection. | SpriteDatabase/View/SpriteGrid.cs:383 |
| ReturnReturn | Sprite Database grid: finds the file of the current sprite in the Project window. | SpriteDatabase/View/SpriteGrid.cs:387 |
| Return, or SpaceReturnSpace | UI Setup: opens the tab that has the keyboard. | UIKit/Setup/UIKitSetupWindow.cs:230 |
The family tree keys
Section titled “The family tree keys”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 |
|---|---|
| LeftLeft | Go to the parent |
| RightRight | Go to the first child; opens a closed branch |
| UpUp, DownDown | The card above or below in the same generation |
| SpaceSpace | Open or close the branch |
| Shift plus FShiftF | Focus on the selected person |
| EscapeEscape | Leave Focus |
| Alt or Option plus LeftAltOptionLeft, Alt or Option plus RightAltOptionRight | Back and Forward |
| HomeHome | The head of the family |
| Alt or Option plus UpAltOptionUp, Alt or Option plus DownAltOptionDown | 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.
Mouse and trackpad gestures
Section titled “Mouse and trackpad gestures”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 |
How it connects
Section titled “How it connects”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.
Mistakes and messages
Section titled “Mistakes and messages”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.