Readonlyareawhere a floating button can be pressed
Readonlybuttonthe pad button it presses, or null
Readonlycenterwhere its center is, in viewport pixels: under the finger while a floating button is held
Readonlyfloatingwhether it is pressed wherever a finger lands in its area
Readonlyhidewhether a floating button is drawn only while held
its radius, in viewport pixels
whether it is drawn faded, as a button with nothing to do right now. It can still be pressed.
the text shown on it
whether it is pressed: while a finger is on it, and for at least one frame however quick the tap
whether it is shown. A hidden button is not drawn and cannot be pressed, and lets go if it was.
whether a point is in a floating button's area, held or not
in viewport pixels
in viewport pixels
the viewport width, in pixels
the viewport height, in pixels
a frame has run: let go of a press its finger already left
a frame starts: the game sees a press made before it
whether a finger landing here presses it
in viewport pixels
in viewport pixels
the viewport width, in pixels, for a floating button
the viewport height, in pixels, for a floating button
place it in a viewport of this size, above floor (the right stick)
the viewport width, in pixels
the viewport height, in pixels
the space kept from the edges
the height taken by a right stick below the buttons
the pointer
Optionalx: number
where it landed, in viewport pixels: a floating button moves under it
Optionaly: number
where it landed, in viewport pixels
the pointer
let go at once, without waiting for a frame: hidden, switched off
how far a point is from where the button rests, in viewport pixels
in viewport pixels
in viewport pixels
A button, pressed while a finger is on it.