GH_DocumentIsEscapeKeyDown Method |
Gets whether the escape key was pressed since the last time this function was called.
Though in reality the actual escape state is checked no more than once every
50 milliseconds or so, which should be sufficient for a smooth user experience.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static bool IsEscapeKeyDown()
Public Shared Function IsEscapeKeyDown As Boolean
Return Value
Type:
BooleanTrue if escape was/is pressed, false if otherwise.
Remarks If GetAsyncKeyState is called by some other application, it will mess
with the value returned here, as GetAsyncKeyState is a system wide static method.
See Also