Web SDK - HeldKeys.has()

Home > rainway-sdk > HeldKeys > has

HeldKeys.has() method

Reports whether the given VirtualKey is pressed.

Signature:

has(key: VirtualKey): boolean;

Parameters

ParameterTypeDescription
keyVirtualKey

Returns:

boolean