> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Botão giratório

> Botão giratório

# Botão giratório

Os atributos de estilo de um componente semelhante a um botão com o qual o jogador pode interagir.

## Propriedades

`background` - *object*, *opcional*. Pode ser uma [cor](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/types/game-streaming-touch-color.md) ou um [ativo de imagem](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/types/game-streaming-touch-asset.md).

`faceImage` - *object*, *opcional*. Pode ser um [ícone](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/types/game-streaming-touch-icon.md) ou um [ativo de imagem](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/types/game-streaming-touch-asset.md).

`opacity` - *number*, *opcional*. A opacidade a ser aplicada ao componente. O padrão é 1.0 para todos os estados, exceto `disabled`.

[`stroke`](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/types/game-streaming-touch-stroke) - *object*, *opcional*. Instruções de estilo para o [traço](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/types/game-streaming-touch-stroke.md) a ser usado no contorno do componente.

## Exemplo

```JSON theme={null}
{
    "knob": {
        "background" : {
            "type": "color",
            "value":  "#107C10"
        },
        "faceImage" : {
            "type": "icon",
            "value": "run"
        }
    },
}
```

## Comentários

O `knob` é um componente de um controle mais complexo (por exemplo, [joystick](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md),
[throttle](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle.md))
com o qual o jogador pode interagir.

O estilo visual padrão do `knob` é diferente para cada controle.

## Controles relacionados

[Joystick](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/controls/game-streaming-touch-joystick.md)\
[Acelerador](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle.md)

## Confira também

[Referência do Touch Adaptation Kit](https://docs.xbox.com/pt-BR/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)


## Related topics

- [Touch Adaptation Kit](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/touchadaptationkit-reference.md)
- [Referência do Touch Adaptation Kit (TAK)](https://docs.xbox.com/pt-BR/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)
- [Botão](https://docs.xbox.com/pt-BR/reference/system/touchadaptationkit/controls/game-streaming-touch-button.md)
- [GameInputLabel](https://docs.xbox.com/pt-BR/reference/input/gameinput/enums/gameinputlabel.md)
- [Enumeração GAMEPAD_BUTTONS](https://docs.xbox.com/pt-BR/reference/tools/xtf/xtfinput/enumerations/GAMEPAD_BUTTONS-typedef-xtfinput-xbox-windows-t.md)
