# Marker

Since: **25.6**

## Properties

+---------------------------------------------------------------------------------------------------------------+
| Table                                                                                                         |
+:-----+:--------------------------------------------------------+:-------+:------------+:----------------------+
| Name | Type                                                    | Access | Min Version | Description           |
+:-----+:--------------------------------------------------------+:-------+:------------+:----------------------+
| guid | *[Guid](/premiere-pro/uxp/ppro-reference/classes/guid)* | R      | 26.3        | The unique identifier |
|      |                                                         |        |             | of the marker.        |
+------+---------------------------------------------------------+--------+-------------+-----------------------+

## Instance Methods

### createSetColorByIndexAction

Return an action to set the color of the marker by the color index

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+-------------------------------------+
| Table                               |
+:-----------+:---------+:------------+
| Name       | Type     | Description |
+:-----------+:---------+:------------+
| colorIndex | *number* | \-          |
+------------+----------+-------------+

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

### createSetCommentsAction

Return an action to set the comments of the marker.

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

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

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

### createSetDurationAction

Return an action to set the duration of the marker.

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+------------------------------------------------------------------------------------------+
| Table                                                                                    |
+:---------+:----------------------------------------------------------------+:------------+
| Name     | Type                                                            | Description |
+:---------+:----------------------------------------------------------------+:------------+
| tickTime | *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)* | \-          |
+----------+-----------------------------------------------------------------+-------------+

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

### createSetNameAction

Return an action to set the name of the marker.

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

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

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

### createSetTypeAction

Return an action to set the type of the marker.

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+-------------------------------------------------------------+
| Table                                                       |
+:-----------+:---------+:------------------------------------+
| Name       | Type     | Description                         |
+:-----------+:---------+:------------------------------------+
| markerType | *string* | Can be set to "Comment", "Chapter", |
|            |          | "Segmentation", or "WebLink"        |
+------------+----------+-------------------------------------+

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

### getColor

Get color code of the marker.

Since: **25.6**

Returns: *[Color](/premiere-pro/uxp/ppro-reference/classes/color)*

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

### getColorIndex

Get color index of the marker.

Since: **25.6**

Returns: *number*

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

### getComments

Get comments of the marker.

Since: **25.6**

Returns: *string*

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

### getDuration

Get duration time of the marker.

Since: **25.6**

Returns: *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)*

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

### getName

Get name of the marker.

Since: **25.6**

Returns: *string*

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

### getStart

Get start time of the marker.

Since: **25.6**

Returns: *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)*

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

### getTarget

Get target of the marker. Used together with url for web targets.

Since: **25.6**

Returns: *string*

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

### getType

Get type of the marker. e.g. Cue / Track / Subclip / Cart

Since: **25.6**

Returns: *string*

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

### getUrl

Get url of the marker.

Since: **25.6**

Returns: *string*

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

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