Click or drag to resize

KeyUtilsIsHolding Method (KeyStateChangedEventArgs, Keys)

Checks if Keys are being hold.

Namespace:  SampSharp.GameMode.Tools
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static bool IsHolding(
	KeyStateChangedEventArgs e,
	Keys keys
)

Parameters

e
Type: SampSharp.GameMode.EventsKeyStateChangedEventArgs
The KeyStateChangedEventArgs.
keys
Type: SampSharp.GameMode.DefinitionsKeys
The Keys to check for.

Return Value

Type: Boolean
Whether the Keys are being hold.
See Also