Table of Contents

Method TryGetAnimationTag

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

TryGetAnimationTag(string, out AnimationTag?)

Gets the AnimationTag element with the specified name in this SpriteSheet.

public bool TryGetAnimationTag(string name, out AnimationTag? tag)

Parameters

name string

The name of the AnimationTag to locate.

tag AnimationTag

When this method returns true, contains the AnimationTag located; otherwise, null

Returns

bool

true if the AnimationTag was located; otherwise, false.
This method returns false if this SpriteSheet does not contain an AnimationTag element with the specified name.