Mouse Button Shortcuts and Selection History


Use more mouse buttons and move through your selection history with ease.


by KAMGAM


Price History +

Links: Manual | Forum


✔️ Go back and forth just like in your browser..

It keeps track of your recent selections and allows you to go back and forth with a mouse button press. By default the "selection history" shortcuts are preconfigured. They work just like in your web browser.


Jump quickly between selected objects and editor windows. No extra window or setup required, it works out of the box!


✔️ Assign shortcuts to your 4th and 5th mouse button.

The default Unity Shortcut Manager can not assign anything to those mouse buttons. But with this asset you can!


The tool also searches through all the shorcuts and [MenuItem] attributes in your project which you can then assign to your mouse buttons.


✔️ Write your own shortcut actions in c#..

Step 1: Make a static method.

Step 2: Add a [MouseCommandAttribute("YourCoolCmdName")] attribute.

Step 3: Use the Mouse Shortcut window to assign it to a button.

Step 4: You are done. Enjoy!


✔️ Supports Unity 2019, 2020, 2021, 2022, 2023... - WINDOWS ONLY!!


✔️ Full source code included

I publish this plugin with full source code because as a developer I know how annoying it is to not have source code access. If you like it then please remind others to purchase the plugin. Don't just copy and paste it everywhere. Thank you ❤️



⚠️ Caveats (please read this!)


1) It currently only works on WINDOWS. Mac and/or Linux support might be added later depending on demand.


2) Only the middle, fourth and fifth mouse buttons are supported. No more, no less. This has technical reasons and most likely won't change. If you need more mouse buttons then I recommend you assign them to keys in your mouse driver software and then use those in the Unity ShortcutManager.


3) This is an Editor only Asset. There is no runtime API.


4) It does not work for selections in the new UI Toolkit UI Builder. The UI Builder is a completely new system done by Unity and sadly it's still locked up tight (not much we can do with it). Hopefully this will change in future Unity releases.



Use cases

You want to be able to easily go back and forth between your most recent selections and/or opened windows within Unity? Then this is for you because that's exactly why I built it for myself.


You wish you could add a custom action to your fourth and fifth mouse button? There is an attribute which lets you easily add new custom code methods.



⚒️ Installation

Download the Asset and import it into your project.

You are done, no additional setup is needed.



✍️ Usage

A new menu will be available under "Tools > Mouse Shortcuts". Go check out the manual once the import is done.


Info: The settings file will be created under Assets/.



☎️ Support

If you have any questions or issues then please write to office[at]kamgam.com.


Please be patient, replies may take a few days.

Please include your Asset Store Order Nr and your exact Unity version in your request. Thank you



If you like this asset then maybe you'll like these too:


✏️ Smart UI Selection

Skip the hierarchy search. What you click is what you select.


⚒️ Pivot Cursor

Rotate around anything, not just the pivot.


✂️ Prefab Fixer & Replacer

Fix broken prefabs without losing any changes.


☘️ 2.5D Terrain

3D Mesh and 2D collider generated from curves.