# Sequence(bpy_struct)

base class — `bpy_struct`

subclasses — `EffectSequence`, `ImageSequence`, `MaskSequence`, `MetaSequence`, `MovieClipSequence`, `MovieSequence`, `SceneSequence`, `SoundSequence`

class `bpy.types.``Sequence`(bpy_struct)

  Sequence strip in the sequence editor

  `blend_alpha`

    Percentage of how much the strip’s colors affect other strips

    Type: | float in [0, 1], default 0.0

  `blend_type`

    Method for controlling how the strip combines with other strips

    Type: | enum in [‘REPLACE’, ‘CROSS’, ‘DARKEN’, ‘MULTIPLY’, ‘BURN’, ‘LINEAR_BURN’, ‘LIGHTEN’, ‘SCREEN’, ‘DODGE’, ‘ADD’, ‘OVERLAY’, ‘SOFT_LIGHT’, ‘HARD_LIGHT’, ‘VIVID_LIGHT’, ‘LINEAR_LIGHT’, ‘PIN_LIGHT’, ‘DIFFERENCE’, ‘EXCLUSION’, ‘SUBTRACT’, ‘HUE’, ‘SATURATION’, ‘COLOR’, ‘VALUE’, ‘ALPHA_OVER’, ‘ALPHA_UNDER’, ‘GAMMA_CROSS’, ‘OVER_DROP’], default ‘REPLACE’

  `channel`

    Y position of the sequence strip

    Type: | int in [1, 32], default 0

  `effect_fader`

    Custom fade value

    Type: | float in [0, 1], default 0.0

  `frame_duration`

    The length of the contents of this strip before the handles are applied

    Type: | int in [1, 1048574], default 0, (readonly)

  `frame_final_duration`

    The length of the contents of this strip after the handles are applied

    Type: | int in [1, 1048574], default 0

  `frame_final_end`

    End frame displayed in the sequence editor after offsets are applied

    Type: | int in [-inf, inf], default 0

  `frame_final_start`

    Start frame displayed in the sequence editor after offsets are applied, setting this is equivalent to moving the handle, not the actual start frame

    Type: | int in [-inf, inf], default 0

  `frame_offset_end`

    Type: | int in [-inf, inf], default 0

  `frame_offset_start`

    Type: | int in [-inf, inf], default 0

  `frame_start`

    X position where the strip begins

    Type: | int in [-inf, inf], default 0

  `frame_still_end`

    Type: | int in [0, 1048574], default 0

  `frame_still_start`

    Type: | int in [0, 1048574], default 0

  `lock`

    Lock strip so that it cannot be transformed

    Type: | boolean, default False

  `modifiers`

    Modifiers affecting this strip

    Type: | `SequenceModifiers` `bpy_prop_collection` of `SequenceModifier`, (readonly)

  `mute`

    Disable strip so that it cannot be viewed in the output

    Type: | boolean, default False

  `name`

    Type: | string, default “”, (never None)

  `override_cache_settings`

    Override global cache settings

    Type: | boolean, default False

  `select`

    Type: | boolean, default False

  `select_left_handle`

    Type: | boolean, default False

  `select_right_handle`

    Type: | boolean, default False

  `speed_factor`

    Multiply the current speed of the sequence with this number or remap current frame to this frame

    Type: | float in [-inf, inf], default 0.0

  `type`

    Type: | enum in [‘IMAGE’, ‘META’, ‘SCENE’, ‘MOVIE’, ‘MOVIECLIP’, ‘MASK’, ‘SOUND’, ‘CROSS’, ‘ADD’, ‘SUBTRACT’, ‘ALPHA_OVER’, ‘ALPHA_UNDER’, ‘GAMMA_CROSS’, ‘MULTIPLY’, ‘OVER_DROP’, ‘WIPE’, ‘GLOW’, ‘TRANSFORM’, ‘COLOR’, ‘SPEED’, ‘MULTICAM’, ‘ADJUSTMENT’, ‘GAUSSIAN_BLUR’, ‘TEXT’, ‘COLORMIX’], default ‘IMAGE’, (readonly)

  `use_cache_composite`

    Cache intermediate composited images, for faster tweaking of stacked strips at the cost of memory usage

    Type: | boolean, default False

  `use_cache_preprocessed`

    Cache preprocessed images, for faster tweaking of effects at the cost of memory usage

    Type: | boolean, default False

  `use_cache_raw`

    Cache raw images read from disk, for faster tweaking of strip parameters at the cost of memory usage

    Type: | boolean, default False

  `use_default_fade`

    Fade effect using the built-in default (usually make transition as long as effect strip)

    Type: | boolean, default False

  `use_linear_modifiers`

    Calculate modifiers in linear space instead of sequencer’s space

    Type: | boolean, default False

  `update`(data=False)

    Update the strip dimensions

    Parameters: | data (boolean, (optional)) – Data, Update strip data

  `strip_elem_from_frame`(frame)

    Return the strip element from a given frame or None

    Parameters: | frame (int in [-1048574, 1048574]) – Frame, The frame to get the strip element from
    Returns: | strip element of the current frame
    Return type: | `SequenceElement`

  `swap`(other)

    swap

    Parameters: | other (`Sequence`, (never None)) – Other

  classmethod `bl_rna_get_subclass`(id, default=None)

    Parameters: | id (string) – The RNA type identifier.
    Returns: | The RNA type or default when not found.
    Return type: | `bpy.types.Struct` subclass

  classmethod `bl_rna_get_subclass_py`(id, default=None)

    Parameters: | id (string) – The RNA type identifier.
    Returns: | The class or default when not found.
    Return type: | type

Inherited Properties

`bpy_struct.id_data` |

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_overridable_library` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` `bpy_struct.keyframe_delete` | `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.pop` `bpy_struct.property_overridable_library_set` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`

References

`bpy.context.selected_editable_sequences` `bpy.context.selected_sequences` `bpy.context.sequences` `AddSequence.input_1` `AddSequence.input_2` `AlphaOverSequence.input_1` `AlphaOverSequence.input_2` `AlphaUnderSequence.input_1` `AlphaUnderSequence.input_2` `ColorMixSequence.input_1` `ColorMixSequence.input_2` `CrossSequence.input_1` `CrossSequence.input_2` `GammaCrossSequence.input_1` `GammaCrossSequence.input_2` `GaussianBlurSequence.input_1` `GlowSequence.input_1` `MetaSequence.sequences` `MultiplySequence.input_1` `MultiplySequence.input_2` `OverDropSequence.input_1` `OverDropSequence.input_2` `Sequence.swap` | `SequenceEditor.active_strip` `SequenceEditor.meta_stack` `SequenceEditor.sequences` `SequenceEditor.sequences_all` `SequenceModifier.input_mask_strip` `Sequences.new_clip` `Sequences.new_effect` `Sequences.new_effect` `Sequences.new_effect` `Sequences.new_effect` `Sequences.new_image` `Sequences.new_mask` `Sequences.new_movie` `Sequences.new_scene` `Sequences.new_sound` `Sequences.remove` `SpeedControlSequence.input_1` `SubtractSequence.input_1` `SubtractSequence.input_2` `TransformSequence.input_1` `WipeSequence.input_1` `WipeSequence.input_2`