Home > @rainway/web > HeldKeys > has
HeldKeys.has() method
Reports whether the given VirtualKey is pressed.
Signature:
has(key: VirtualKey): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
key | VirtualKey |
Returns:
boolean