document.getTaggedSwatchAtIndex()

#### Availability

Animate 2020.

#### Usage

document.getTaggedSwatchAtIndex(index:int [,palette:int ])

#### Parameters

index : It is an integer that specifies the index of the tagged swatch.
palette : It is an integer that specifies the index of the tagged swatch palette,default value is 0.It is optional.

#### Returns

Swatch object.

#### Description

Method;returns the Tagged Swatch with the given index.

#### Example
The following example returns the tagged swatch at index 0.

javascript

var document = fl.getDocumentDOM();
var swatch = document.getTaggedSwatchAtIndex(0);


#### See also
document.getTaggedSwatchByName() (../Document_object/docu6062.md)
document.getTaggedSwatchesPaletteList() (../Document_object/docu6063.md)
document.getTaggedSwatches() (../Document_object/docu6064.md)