# focus parameter (skin)

Source: https://ref.dm-lang.org/skin/param/focus

### Applies to
- [All](https://ref.dm-lang.org/skin/control/index.md)
- Global


### Format
> `true/false`

### Default value
> `false`

This parameter is true if this control currently has focus.

This is also a special read-only global parameter. Calling [winget()](https://ref.dm-lang.org/proc/winget.md) with no `id` and `focus` as the parameter will return the [id](https://ref.dm-lang.org/skin/param/id.md) of the currently focused control, if any.

### See also
- [id parameter](https://ref.dm-lang.org/skin/param/id.md)
- [winget proc](https://ref.dm-lang.org/proc/winget.md)
