Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Radiant on Thu 19/09/2013 15:42:01

Title: (solved) Detect if wait cursor is active?
Post by: Radiant on Thu 19/09/2013 15:42:01
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.
Title: Re: Detect if wait cursor is active?
Post by: Khris on Thu 19/09/2013 17:03:22
Try IsInterfaceEnabled(), iirc that should do the trick.
Title: Re: Detect if wait cursor is active?
Post by: Radiant on Thu 19/09/2013 17:06:12
That worked, thanks.