# Selected

> The visual element represented by the accessibility node is currently selected, such as a selected table row or a selected button in a segmented control.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Accessibility](/engine/6000.7/script-reference/unityengine/accessibility.md)
* **Assembly:** UnityEngine.AccessibilityModule

```csharp
Selected = 2
```

### Remarks

**Platform-specific behavior**

For nodes with a role other than [AccessibilityRole.Toggle](/engine/6000.7/script-reference/unityengine/accessibility/accessibilityrole/toggle.md):

* **Android**: If this role is set on a node, the screen reader announces the node as "selected".

* **iOS**: If this role is set on a node, the screen reader announces the node as "selected".

* **macOS**: If this role is set on a node, the screen reader announces the node as "selected".

* **Windows**: If this role is set on a node, the screen reader announces the node as "on".

For nodes with the role [AccessibilityRole.Toggle](/engine/6000.7/script-reference/unityengine/accessibility/accessibilityrole/toggle.md), see that role's documentation.

**Notes**

* On macOS, this state is only supported for nodes with the role [AccessibilityRole.Button](/engine/6000.7/script-reference/unityengine/accessibility/accessibilityrole/button.md), [AccessibilityRole.Toggle](/engine/6000.7/script-reference/unityengine/accessibility/accessibilityrole/toggle.md) or [AccessibilityRole.Dropdown](/engine/6000.7/script-reference/unityengine/accessibility/accessibilityrole/dropdown.md).

* On Windows, this state is only supported for nodes with the role [AccessibilityRole.Button](/engine/6000.7/script-reference/unityengine/accessibility/accessibilityrole/button.md) or [AccessibilityRole.Toggle](/engine/6000.7/script-reference/unityengine/accessibility/accessibilityrole/toggle.md)
