Rasagar/Library/PackageCache/com.unity.probuilder/Documentation~/Selection_Shift.md
2024-08-26 23:07:20 +03:00

18 lines
1.7 KiB
Markdown

# ![Shift Modifier icon](images/icons/Selection_ShiftDifference.png) Shift
Use the __Shift__ action to change what happens to the selection when you **Shift+Click** an element or hold **Shift** while drag-selecting. Click the __Shift__ button to switch between the three states: __Add__, __Remove__, or __Difference__.
![Same Shift-drag action has different effect depending on Shift setting](images/ShiftModifier_Example.png)
Depending whether you are in [text mode or icon mode](toolbar.md#buttonmode), the button displays the following to indicate what state the action is in:
| **Icon mode:** | **Text mode:** | **Description:** |
| :----------------------------------------------------------- | --------------------- | ------------------------------------------------------------ |
| ![SHIFT Modifier Add](images/icons/Selection_ShiftAdd.png) | **Shift: Add** | __Shift+Click__ adds the selected elements to the current selection. |
| ![SHIFT Modifier Subtract](images/icons/Selection_ShiftSubtract.png) | **Shift: Subtract** | __Shift+Click__ removes the selected elements from the current selection. |
| ![SHIFT Modifier Difference](images/icons/Selection_ShiftDifference.png) | **Shift: Difference** | __Shift+Click__ toggles the selection: it adds unselected elements and removes selected elements. |
This action is available in the [vertex, edge, and face modes](modes.md).
> **Tip**: You can also launch this action from the ProBuilder menu (**Tools** > **ProBuilder** > **Interaction** > **Toggle Drag Selection Mode**).