API IsCurrentSpell

From Wowpedia
Jump to: navigation, search

Returns whether a spell is currently is being casted by the player or is placed in the queue to be casted next. If spell is current then action bar indicates its slot with highlighted frame.

isCurrent = IsCurrentSpell(spellID)

Arguments

spellID 
Boolean - spell ID to query.

Returns

isCurrent 
Boolean - true if currently being casted or queued, false otherwise.