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

assistant: # SequencerToolSettings(bpy_struct)

base class — [`bpy_struct`](bpy.types.bpy_struct.html#bpy.types.bpy_struct "bpy.types.bpy_struct")

*class* bpy.types.SequencerToolSettings(*bpy_struct*)
:   fit_method
    :   Scale fit method

        Type:
        :   enum in [Strip Scale Method Items](bpy_types_enum_items/strip_scale_method_items.html#rna-enum-strip-scale-method-items), default `'FIT'`

    overlap_mode
    :   How to resolve overlap after transformation

        - `EXPAND`
          Expand – Move strips so transformed strips fit.
        - `OVERWRITE`
          Overwrite – Trim or split strips to resolve overlap.
        - `SHUFFLE`
          Shuffle – Move transformed strips to nearest free space to resolve overlap.

        Type:
        :   enum in [`'EXPAND'`, `'OVERWRITE'`, `'SHUFFLE'`], default `'EXPAND'`

    pivot_point
    :   Rotation or scaling pivot point

        - `CENTER`
          Bounding Box Center.
        - `MEDIAN`
          Median Point.
        - `CURSOR`
          2D Cursor – Pivot around the 2D cursor.
        - `INDIVIDUAL_ORIGINS`
          Individual Origins – Pivot around each selected island’s own median point.

        Type:
        :   enum in [`'CENTER'`, `'MEDIAN'`, `'CURSOR'`, `'INDIVIDUAL_ORIGINS'`], default `'CENTER'`

    snap_distance
    :   Maximum distance for snapping in pixels

        Type:
        :   int in [-inf, inf], default 15

    snap_ignore_muted
    :   Don’t snap to hidden strips

        Type:
        :   boolean, default False

    snap_ignore_sound
    :   Don’t snap to sound strips

        Type:
        :   boolean, default False

    snap_to_borders
    :   Snap to preview borders

        Type:
        :   boolean, default False

    snap_to_center
    :   Snap to preview center

        Type:
        :   boolean, default False

    snap_to_current_frame
    :   Snap to current frame

        Type:
        :   boolean, default False

    snap_to_frame_range
    :   Snap to preview or scene start and end frame

        Type:
        :   boolean, default False

    snap_to_hold_offset
    :   Snap to strip hold offsets

        Type:
        :   boolean, default False

    snap_to_markers
    :   Snap to markers

        Type:
        :   boolean, default False

    snap_to_retiming_keys
    :   Snap to retiming keys

        Type:
        :   boolean, default False

    snap_to_strips_preview
    :   Snap to borders and origins of deselected, visible strips

        Type:
        :   boolean, default False

    use_snap_current_frame_to_strips
    :   Snap current frame to strip start or end

        Type:
        :   boolean, default False

    *classmethod* bl_rna_get_subclass(*id*, *default=None*, */*)
    :   Parameters:
        :   **id** (*str*) – The RNA type identifier.

        Returns:
        :   The RNA type or default when not found.

        Return type:
        :   [`bpy.types.Struct`](bpy.types.Struct.html#bpy.types.Struct "bpy.types.Struct") subclass

    *classmethod* bl_rna_get_subclass_py(*id*, *default=None*, */*)
    :   Parameters:
        :   **id** (*str*) – The RNA type identifier.

        Returns:
        :   The class or default when not found.

        Return type:
        :   type