Readonlyareawhere a floating stick can be picked up
Readonlycenterwhere its base is drawn, in viewport pixels
Readonlyfloatingwhether it is centered where the thumb lands
Readonlyhidewhether a floating stick is drawn only while held
the pointer holding it, or null
the radius of its base, in viewport pixels
Readonlysidewhich stick of the pad it is
whether a tap is pressing its button or key, until the frame has run
Readonlyvaluehow far it leans, from -1 to 1 on each axis, after the deadzone
how far the thumb moves from the center, in viewport pixels: the stick reads full when the finger is this far
let go of the tap's press, once the game has had a frame to see it
the pointer
in viewport pixels
in viewport pixels
whether a finger landing here takes the stick
in viewport pixels
in viewport pixels
the viewport width, in pixels
the viewport height, in pixels
place it in a viewport of this size
the viewport width, in pixels
the viewport height, in pixels
the space kept from the edges
in viewport pixels
in viewport pixels
back to rest
the touch was taken away rather than lifted, so it is not a tap
whether the touch was a tap, which then presses its button
A stick: a base and a thumb that follows the finger, reporting how far it leans on two axes, from -1 to 1 (down and right are positive, as on a real pad).