> For the complete documentation index, see [llms.txt](https://santutu.gitbook.io/rts-selection-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://santutu.gitbook.io/rts-selection-system/extra-customization/groupselectioninputhandler.cs.md).

# GroupSelectionInputHandler.cs

It handles unit group selection and management. It allows:

* Saving/loading unit groups with number keys (1-0)
* Adding/removing units to/from groups
* Moving camera to selected groups
* Customizable keyboard shortcuts and modifiers
* Double-click detection for camera movement

Key customization points:

* Override `Start()` and `Update()` for custom input handling
