# 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`

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

  `blend_type`

    Type: | enum in [‘REPLACE’, ‘CROSS’, ‘ADD’, ‘SUBTRACT’, ‘ALPHA_OVER’, ‘ALPHA_UNDER’, ‘GAMMA_CROSS’, ‘MULTIPLY’, ‘OVER_DROP’], default ‘REPLACE’

  `channel`

    Y position of the sequence strip

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

  `effect_fader`

    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, 300000], default 0, (readonly)

  `frame_final_duration`

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

    Type: | int in [1, 300000], 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`

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

  `frame_still_end`

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

  `frame_still_start`

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

  `lock`

    Lock strip so that it can’t be transformed

    Type: | boolean, default False

  `modifiers`

    Modifiers affecting this strip

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

  `mute`

    Type: | boolean, default False

  `name`

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

  `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’], default ‘IMAGE’, (readonly)

  `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 [-300000, 300000]) – 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

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_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.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` `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`