Show / Hide Table of Contents

Method keys.gui.isToggled


Overload

Returns true if the specified key or mouse button is toggled.

public static bool isToggled(KKey key)
Parameters
key  (KKey)
Returns
bool

Remarks

Works only with CapsLock, NumLock, ScrollLock and several other keys, as well as mouse buttons.