API SpellIsTargeting

From Wowpedia
Jump to: navigation, search

Returns whether a spell is about to be cast, waiting for the player to select a target.

isTargeting = SpellIsTargeting()

Returns

isTargeting 
Flag - 1 if a spell is about to be cast, waiting for the player to select a target; nil otherwise.