Joystick Outline and Directional Indicator
The styling attributes for the outer ring of a joystick controls.
Properties
opacity
- number, optional. The opacity to be applied to the component.
stroke
- object, optional. Styling instructions for stroke to be used on the outline of the joystick's interactable area.
indicator
- object, optional. A color object that includes the styling instructions for the directional indicator that is displayed while a player is interacting with a joystick
control.
Sample
{
"outline": {
"stroke" : {
"type": "solid",
"color": "#107C10"
},
"indicator" : {
"type": "color",
"value": "#107C10"
}
},
}
Remarks
The outline
is a component of the joystick control that represents the outline of the circular interactable area and the directional indicator.