Is there a way to know in code (from repeatedly_execute_always) whether the Wait cursor is visible? If another script is running to e.g. move the player around, then the wait cursor will be shown but GetCursorMode() still returns the active cursor mode.
Try IsInterfaceEnabled(), iirc that should do the trick.
That worked, thanks.