# VideoTrack

Since: **25.6**

## Properties

+----------------------------------------------------------------+
| Table                                                          |
+:-----+:---------+:-------+:------------+:----------------------+
| Name | Type     | Access | Min Version | Description           |
+:-----+:---------+:-------+:------------+:----------------------+
| name | *string* | R      | 25.6        | Get the name of the   |
|      |          |        |             | track                 |
+:-----+:---------+:-------+:------------+:----------------------+
| id   | *number* | R      | 25.6        | The ID of the track   |
|      |          |        |             | within the TrackGroup |
+------+----------+--------+-------------+-----------------------+

## Instance Methods

### createSetNameAction

Action to change the name of the track

Since: **26.3**

Returns: *object*

#### Parameters

+-------------------------------+
| Table                         |
+:-----+:---------+:------------+
| Name | Type     | Description |
+:-----+:---------+:------------+
| name | *string* | \-          |
+------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getIndex

Index representing the track index of this track within the track group.

Since: **25.6**

Returns: Promise<*number*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getMediaType

UUID representing the underlying media type of this track

Since: **25.6**

Returns: Promise<*[Guid](/premiere-pro/uxp/ppro-reference/classes/guid)*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getTrackItems

Returns array of VideoClipTrackItem from the track item type

Since: **25.6**

Returns: *[VideoClipTrackItem\[\]](/premiere-pro/uxp/ppro-reference/classes/videocliptrackitem)*

#### Parameters

+-------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table                                                                                                                                                 |
+:-----------------------+:---------------------------------------------------------------------------------------+:------------------------------------+
| Name                   | Type                                                                                   | Description                         |
+:-----------------------+:---------------------------------------------------------------------------------------+:------------------------------------+
| trackItemType          | *[Constants.TrackItemType](/premiere-pro/uxp/ppro-reference/constants/#trackitemtype)* | This values can be Empty (0), Clip  |
|                        |                                                                                        | (1), Transition (2), Preview (3) or |
|                        |                                                                                        | Feedback (4)                        |
+:-----------------------+:---------------------------------------------------------------------------------------+:------------------------------------+
| includeEmptyTrackItems | *boolean*                                                                              | \-                                  |
+------------------------+----------------------------------------------------------------------------------------+-------------------------------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### isMuted

Get mute state of the track

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### setMute

sets the mute state of the track to muted/unmuted

Since: **25.6**

Returns: Promise<*boolean*>

#### Parameters

+--------------------------------+
| Table                          |
+:-----+:----------+:------------+
| Name | Type      | Description |
+:-----+:----------+:------------+
| mute | *boolean* | \-          |
+------+-----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

## Events

+-----------------------------------------------------------------------------+
| Table                                                                       |
+:----------------------------+:--------+:------------------------------------+
| Name                        | Version | Description                         |
+:----------------------------+:--------+:------------------------------------+
| EVENT\_TRACK\_CHANGED       | 25.6    | Event Object for Track changed      |
+:----------------------------+:--------+:------------------------------------+
| EVENT\_TRACK\_INFO\_CHANGED | 25.6    | Event Object for Track Info Changed |
+:----------------------------+:--------+:------------------------------------+
| EVENT\_TRACK\_LOCK\_CHANGED | 25.6    | Event Object for Track Lock Changed |
+-----------------------------+---------+-------------------------------------+

+--------------------------------------------------------------------------------------------------------------------------+
| Metadata                                                                                                                 |
+----------------+---------------------------------------------------------------------------------------------------------+
| title          | VideoTrack                                                                                              |
+----------------+---------------------------------------------------------------------------------------------------------+
| description    | Overview of VideoTrack                                                                                  |
+----------------+---------------------------------------------------------------------------------------------------------+
| source         | github                                                                                                  |
+----------------+---------------------------------------------------------------------------------------------------------+
| pathprefix     | /premiere-pro/uxp                                                                                       |
+----------------+---------------------------------------------------------------------------------------------------------+
| githubblobpath | https\://github.com/AdobeDocs/uxp-premiere-pro/blob/main/src/pages/ppro-reference/classes/videotrack.md |
+----------------+---------------------------------------------------------------------------------------------------------+
| template       | documentation                                                                                           |
+----------------+---------------------------------------------------------------------------------------------------------+
