user: Show practical ways to work with Header in a Blender add-on or script – include code.

assistant: [image reference removed]

Popovers for Playback and Keying; transport controls; and frame controls

### View Menu

Adjust Last Operation
:   Displays a pop-up panel to alter properties of the last
    completed operation. See [Adjust Last Operation](../interface/undo_redo.html#bpy-ops-screen-redo-last).

Channels
:   Show or hide the Channels region (the tree of objects and animatable properties on the left).

---

Frame All `Home`
:   Pans and zooms the view so that all keyframes are visible.

Frame Scene/Preview Range
:   Reset the horizontal view to the current scene frame range,
    taking the preview range into account if it is active.

Go to Current Frame `Numpad0`
:   Centers the Timeline to the Playhead.

---

Show Markers
:   Shows the Markers region (if any markers are defined).
    When disabled, the [Marker Menu](#marker-menu) is also hidden and marker operators are not
    available in this editor.

Use Timecode `Ctrl`-`T`
:   Shows the time on the X axis and the *Playhead* as timestamps instead of frame numbers.
    A timestamp such as `01:03+02` means “1 minute, 3 seconds, 2 frames.”

Sync Visible Range
:   Synchronizes the horizontal panning and scale of the editor
    with other time-based editors that also have this option enabled.
    That way, they always show the same section of time.

---

Only Show Selected
:   Only show keyframes related to the selected items.
    This could be objects, bones, nodes, and so on.

Only Show Errors
:   Only show curves and drivers that are disabled or have errors.
    Useful for debugging.

---

Cache
:   Which simulation caches to show on the timeline.
    See [Cache](dope_sheet/navigating.html#bpy-types-spacedopesheeteditor-show-cache) for more information.

---

Area
:   Area controls. See the [user interface](../interface/window_system/areas.html)
    documentation for more information.

### Marker Menu

[Markers](../animation/markers.html) are used to denote frames with key points or significant events
within an animation. Like in most animation editors, they’re shown at the bottom of the Timeline.

[image reference removed]

Markers in an animation editor.

For descriptions of the different marker tools, see [Editing Markers](../animation/markers.html#animation-markers-editing).

---

Playback Popover
:   Properties for how animations are played.
    See [Playback](../animation/animation_editors.html#animation-editors-playback) for more information.

Keying Popover
:   Properties for how keyframes are added.
    See [Keying](../animation/animation_editors.html#animation-editors-keying) for more information.

Auto Keying
:   Options for automatically adding keyframes.
    See [Auto Keying](../animation/animation_editors.html#bpy-types-toolsettings-use-keyframe-insert-auto) for more information.

Transport Controls
:   These buttons are used to control playback.
    See [Transport Controls](../animation/animation_editors.html#animation-editors-controls) for more information.

Frame Controls
:   Used to set the current frame and the start/end frame.
    See [Frame Controls](../animation/animation_editors.html#animation-editors-frame-controls) for more information.