GetActionBarPage

From Wowpedia
Jump to: navigation, search

Returns the index of the currently-selected 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.