IsSpellPending

Checks if a cursor spell cast is pending.

IsSpellPending() : value

Example

Checks if a ground spell cast is pending.

local pending = IsSpellPending()
if pending == 64 then
-- a ground cast spell is pending
end