Optionalanims?: string | Animations.Animation | PlayAnimationConfigOptionalframe?: string | numberAn optional frame from the Texture this Game Object is rendering with.
Optionalkey?: string | Textures.TextureThe key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.
OptionaluseSpriteSheet?: booleanThis property is used exclusively by Tilemap.createFromTiles. Set to true if this Sprite is being created by a Tilemap and is part of a spritesheet.
The string-based key of the animation to play, or an Animation instance, or a
PlayAnimationConfigobject.