---
title: "Focusability"
description: "Focusability configures whether a focus target can be focused."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
value class Focusability private constructor(private val value: Int)
```


Focusability configures whether a focus target can be focused.


## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Always = Focusability(1)
```


This focus target can always gain focus. This should be used for components that can be
focused regardless of input device / system state, such as text fields.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val SystemDefined = Focusability(0)
```


Focusability of this focus target will be defined by the system. This should be used for
clickable components such as buttons and checkboxes: these components should only gain
focus when they are used with certain types of input devices, such as keyboard / d-pad.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Never = Focusability(2)
```


This focus target can not gain focus. This should be used for disabled components /
components that are currently not interactive.





