# Chapter 3: Animated Textures

An `AnimatedTexture` is a structure that extends the functionality of the SpriteSheet by adding a time delay between frames, which allows for the animation of the sprite.

* `sprite_sheet`: This field contains the reference to the SpriteSheet to be animated.
* `frame_delay`: This field sets the time delay between frame changes, giving control over the animation speed.
* `current_frame`: The index of the current frame of the sprite being rendered.
* `last_frame_time`: The time at which the frame was last updated.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lados-organization.gitbook.io/goku/chapter-3-animated-textures.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
