Grasshopper API
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)
If GetAsyncKeyState is called by some other application, it will mess
with the value returned here, as GetAsyncKeyState is a system wide static method.