API Reference > presentation-frontend > UnifiedSelection > SelectionHandler > getSelection getSelection Method Get selection for the imodel managed by this handler. getSelection(level?: number): Readonly<KeySet> Parameter Type Description level number Level of the selection to get. Defaults to 0. Returns - Readonly<KeySet> Defined in presentation/frontend/src/presentation-frontend/selection/SelectionHandler.ts Line 118 Last Updated: 11 June, 2024