document.getTaggedSwatchByName()

#### Availability

Animate 2020.

#### Usage

document.getTaggedSwatchByName(name:string).

#### Parameters

name:It is a string that specifies the name of the tagged swatch.

#### Returns

Swatch object.

#### Description

Method;returns the Tagged Swatch with the given name.

#### Example
The following example returns the tagged swatch with name "swatch1".

javascript

var document = fl.getDocumentDOM();
var swatch = document.getTaggedSwatchByName("swatch1");


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