> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apex-services.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Progressbar hooks

> Every hook exposed by apex-progressbar/hooks.lua.

Source: `apex-progressbar/hooks.lua` (unencrypted). Client-only.

<AccordionGroup>
  <Accordion title="Hooks.OnProgressStateChanged(isActive)" icon="rotate">
    Called whenever the progressbar becomes visible or hidden. Use to hide other HUD elements, dim the minimap, or play a sound.
  </Accordion>

  <Accordion title="Hooks.ShouldBypassOverride()" icon="forward">
    Runs once when the ox\_lib override kicks in (if `Config.OverrideOxLib = true`). Return `true` to skip the override for this tick (e.g. during cutscenes / fallbacks).
  </Accordion>

  <Accordion title="Hooks.ShouldCancelProgress()" icon="circle-stop">
    Called every tick while a `progressBar` / `progressCircle` runs through the override. Return `true` to cancel the active run (same effect as `canCancel` + manual cancel).
  </Accordion>
</AccordionGroup>
