KeyboardKey
One key on a BGE.UI.Keyboard.
Properties
label(string)kind(BGE.UI.KeyboardKeyKind)char(integer) — Character code a char or space key types.width(float) — Width in grid units (a letter is 1).targetPage(integer) — Page index a page key switches to.
Constructor
new KeyboardKey(
label: string,
kind: BGE.UI.KeyboardKeyKind,
width?: float,
): KeyboardKeyParameters
label(string) — text drawn on the keykind(BGE.UI.KeyboardKeyKind)width(float, optional, default: "1.0") — width in grid units