Keine Auswahl
{{ selectedCount }} ausgewählt
· Instanz
```
## Rückgabewerte
Nützliche Werte umfassen:
- `selectedIds`
- `hasSelection`
- `selectedNode`
- `selectedCount`
- `selectedNodeType`
- `isInstance`
- `isComponent`
- `isGroup`
- `canCreateComponentSet`
## Praktische Beispiele
### Nur für Instanzen verfügbare Aktionen anzeigen
```ts
const { isInstance } = useSelectionState()
```
### UI zur Komponentenset-Erstellung aktivieren
```ts
const { canCreateComponentSet } = useSelectionState()
```
## Verwandte APIs
- [useSelectionCapabilities](./use-selection-capabilities)
- [useEditorCommands](./use-editor-commands)
- [useEditor](./use-editor)