GetActionBarPage

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

Returns the current action bar page.

index = GetActionBarPage()

Returns

index
number - integer index of the current action bar page, ascending from 1.

Details

  • The returned value reflects the player-selected action bar, which might not actually be available if overridden by a vehicle, mind control, temporary shapeshift or other similar mechanics.
  • This function is available in the RestrictedEnvironment.
  • Can be queried using the [bar:index] macro conditional.
  • CURRENT_ACTIONBAR_PAGE is obsolete.