JoystickPlacementProps
What every stick takes, bound or not.
Extends
Section titled “Extends”Pick<UiJoystickProps,"grabMargin"|"className">
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
className? |
string |
undefined |
Placement and visibility, such as showing it only on touch screens. |
grabMargin? |
number |
8 |
How far past the drawn ring a thumb still catches the stick, in the ring’s own units. The ring grows to fill it on the grab, which is what tells the player what they caught. |
slot? |
Slot |
Slot.BottomLeft |
The slot it stands in. |