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

assistant: # MovieTracking(bpy_struct)

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

*class* bpy.types.MovieTracking(*bpy_struct*)
:   Match-moving data for tracking

    active_object_index
    :   Index of active object

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

    camera
    :   Type:
        :   [`MovieTrackingCamera`](bpy.types.MovieTrackingCamera.html#bpy.types.MovieTrackingCamera "bpy.types.MovieTrackingCamera"), (readonly)

    dopesheet
    :   Type:
        :   [`MovieTrackingDopesheet`](bpy.types.MovieTrackingDopesheet.html#bpy.types.MovieTrackingDopesheet "bpy.types.MovieTrackingDopesheet"), (readonly)

    objects
    :   Collection of objects in this tracking data object

        Type:
        :   [`MovieTrackingObjects`](bpy.types.MovieTrackingObjects.html#bpy.types.MovieTrackingObjects "bpy.types.MovieTrackingObjects") [`bpy_prop_collection`](bpy.types.bpy_prop_collection.html#bpy.types.bpy_prop_collection "bpy.types.bpy_prop_collection") of [`MovieTrackingObject`](bpy.types.MovieTrackingObject.html#bpy.types.MovieTrackingObject "bpy.types.MovieTrackingObject"), (readonly)

    plane_tracks
    :   Collection of plane tracks in this tracking data object. Deprecated, use objects[name].plane_tracks

        Type:
        :   [`MovieTrackingPlaneTracks`](bpy.types.MovieTrackingPlaneTracks.html#bpy.types.MovieTrackingPlaneTracks "bpy.types.MovieTrackingPlaneTracks") [`bpy_prop_collection`](bpy.types.bpy_prop_collection.html#bpy.types.bpy_prop_collection "bpy.types.bpy_prop_collection") of [`MovieTrackingPlaneTrack`](bpy.types.MovieTrackingPlaneTrack.html#bpy.types.MovieTrackingPlaneTrack "bpy.types.MovieTrackingPlaneTrack"), (readonly)

    reconstruction
    :   Type:
        :   [`MovieTrackingReconstruction`](bpy.types.MovieTrackingReconstruction.html#bpy.types.MovieTrackingReconstruction "bpy.types.MovieTrackingReconstruction"), (readonly)

    settings
    :   Type:
        :   [`MovieTrackingSettings`](bpy.types.MovieTrackingSettings.html#bpy.types.MovieTrackingSettings "bpy.types.MovieTrackingSettings"), (readonly)

    stabilization
    :   Type:
        :   [`MovieTrackingStabilization`](bpy.types.MovieTrackingStabilization.html#bpy.types.MovieTrackingStabilization "bpy.types.MovieTrackingStabilization"), (readonly)

    tracks
    :   Collection of tracks in this tracking data object. Deprecated, use objects[name].tracks

        Type:
        :   [`MovieTrackingTracks`](bpy.types.MovieTrackingTracks.html#bpy.types.MovieTrackingTracks "bpy.types.MovieTrackingTracks") [`bpy_prop_collection`](bpy.types.bpy_prop_collection.html#bpy.types.bpy_prop_collection "bpy.types.bpy_prop_collection") of [`MovieTrackingTrack`](bpy.types.MovieTrackingTrack.html#bpy.types.MovieTrackingTrack "bpy.types.MovieTrackingTrack"), (readonly)

    *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