IsActionInRange

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns true if the specified action is in range.

inRange = IsActionInRange(actionSlot)

Arguments

actionSlot
number - The action slot to test.

Returns

inRange
boolean - nil if the slot has no action, or if the action cannot be used on the current target, or if range does not apply; false if the action is out of range, and true otherwise.

Patch changes

Warlords of Draenor Patch 6.0.2 (2014-10-14): Return values are now true/false instead of 1/0


See also