# RPG::Animation::Timing

## Superclass

* [Object](https://enls.gitbook.io/rgss-reference-manual/standard-library/built-in-classes/object)

## Referrer

* [RPG::Animation](https://enls.gitbook.io/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-animation)

### Attributes

### frame

Frame number. 1 less than the number displayed in RPGXP.

### se

SE, or sound effect ([RPG::AudioFile](https://enls.gitbook.io/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-audiofile)).

### flash\_scope

Flash area (0: none, 1: target, 2: screen; 3: delete target).

### flash\_color

Flash color ([Color](https://enls.gitbook.io/rgss-reference-manual/game-library/rgss-built-in-classes/color)).

### flash\_duration

Flash duration.

### condition

Condition of the effect (0: none, 1: hit, 2: miss).

## Definition

```ruby
module RPG
  class Animation
    class Timing
      def initialize
        @frame = 0
        @se = RPG::AudioFile.new("", 80)
        @flash_scope = 0
        @flash_color = Color.new(255,255,255,255)
        @flash_duration = 5
        @condition = 0
      end
      attr_accessor :frame
      attr_accessor :se
      attr_accessor :flash_scope
      attr_accessor :flash_color
      attr_accessor :flash_duration
      attr_accessor :condition
    end
  end
end
```


---

# 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://enls.gitbook.io/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-animation-timing.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.
