Method keys.isMod
Overload
Returns true
if some modifier keys are pressed: Ctrl
, Shift
, Alt
, Win
. Calls keys.isPressed.
In UI code use keys.gui instead.
public static bool isMod(KMod mod = KMod.Shift | KMod.Ctrl | KMod.Alt | KMod.Win)
Parameters
mod (KMod)
Return |