Options for the spritesprite()
component.
If the sprite is loaded with multiple frames, or sliced, use the frame option to specify which frame to draw.If provided width and height, don't stretch but instead render tiled.Stretch sprite to a certain width.Stretch sprite to a certain height.anim?: string
Play an animation on start.Speed multiplier for all animations (for the actual fps for an anim use .play("anim", { speed: 10 })).Flip texture horizontally.Flip texture vertically.The rectangular sub-area of the texture to render, default to full texture `quad(0, 0, 1, 1)`.fill?: boolean
If fill the sprite (useful if you only want to render outline with outline() component).