Marker Operators


Add a new time marker


Bind the selected camera to a marker on the current frame


Delete selected time marker(s)


Duplicate selected time marker(s)

Parameters:frames (int in [-inf, inf], (optional)) – Frames

Copy selected markers to another scene

Parameters:scene (enum in [], (optional)) – Scene
bpy.ops.marker.move(frames=0, tweak=False)

Move selected time marker(s)

  • frames (int in [-inf, inf], (optional)) – Frames
  • tweak (boolean, (optional)) – Tweak, Operator has been activated using a tweak event

Rename first selected time marker

Parameters:name (string, (optional, never None)) – Name, New name for marker, mouse_x=0, mouse_y=0, extend=False, camera=False)

Select time marker(s)

  • wait_to_deselect_others (boolean, (optional)) – Wait to Deselect Others
  • mouse_x (int in [-inf, inf], (optional)) – Mouse X
  • mouse_y (int in [-inf, inf], (optional)) – Mouse Y
  • extend (boolean, (optional)) – Extend, Extend the selection
  • camera (boolean, (optional)) – Camera, Select the camera

Change selection of all time markers

Parameters:action (enum in ['TOGGLE', 'SELECT', 'DESELECT', 'INVERT'], (optional)) –

Action, Selection action to execute

  • TOGGLE Toggle, Toggle selection for all elements.
  • SELECT Select, Select all elements.
  • DESELECT Deselect, Deselect all elements.
  • INVERT Invert, Invert selection of all elements.
bpy.ops.marker.select_box(xmin=0, xmax=0, ymin=0, ymax=0, wait_for_input=True, mode='SET', tweak=False)

Select all time markers using box selection

  • xmin (int in [-inf, inf], (optional)) – X Min
  • xmax (int in [-inf, inf], (optional)) – X Max
  • ymin (int in [-inf, inf], (optional)) – Y Min
  • ymax (int in [-inf, inf], (optional)) – Y Max
  • wait_for_input (boolean, (optional)) – Wait for Input
  • mode (enum in ['SET', 'ADD', 'SUB'], (optional)) –


    • SET Set, Set a new selection.
    • ADD Extend, Extend existing selection.
    • SUB Subtract, Subtract existing selection.
  • tweak (boolean, (optional)) – Tweak, Operator has been activated using a tweak event