# Sprite
Play Demo
Sprite2D demo — renders textures as 2D quads via Draw2D.draw_texture().
Generates test textures programmatically, then renders them as sprites.
Demonstrates:
- Sprite2D as a Node2D in the scene tree
- passing an RGBA uint8 ndarray directly as the Sprite2D.texture source
- Tinting via vertex colour
- Rotation
## Source Code
```{literalinclude} ../../packages/graphics/examples/2d_sprite.py
:language: python
:linenos:
```