> For the complete documentation index, see [llms.txt](https://enls.gitbook.io/rgss-reference-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enls.gitbook.io/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-event-page.md).

# RPG::Event::Page

## Superclass

* [Object](/rgss-reference-manual/standard-library/built-in-classes/object.md)

## Referrer

* [RPG::Event](/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-event.md)

## Attributes

### condition

The event condition ([RPG::Event::Page::Condition](/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-event-page-condition.md)).

### graphic

The event graphic ([RPG::Event::Page::Graphic](/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-event-page-graphic.md)).

### move\_type

Type of movement (0: fixed, 1: random, 2: approach, 3: custom).

### move\_speed

Movement speed (1: slowest, 2: slower, 3: slow, 4: fast, 5: faster, 6: fastest).

### move\_frequency

Movement frequency (1: lowest, 2: lower, 3: low ,4: high, 5: higher, 6: highest).

### move\_route

Movement route ([RPG::MoveRoute](/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-moveroute.md)). Referenced only when the movement type is set to Custom.

### walk\_anime

Truth value of the \[Moving Animation] option.

### step\_anime

Truth value of the \[Stopped Animation] option.

### direction\_fix

Truth value of the \[Fixed Direction] option.

### through

Truth value of the \[Move Through] option.

### always\_on\_top

Truth value of the \[Always On Top] option.

### trigger

Event trigger (0: action button, 1: contact with player, 2: contact with event, 3: autorun, 4: parallel processing).

### list

Program contents. An [RPG::EventCommand](/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-eventcommand.md) array.

## Inner Classes

* [RPG::Event::Page::Condition](/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-event-page-condition.md)
* [RPG::Event::Page::Graphic](/rgss-reference-manual/game-library/rpgxp-data-structures/rpg-event-page-graphic.md)

## Definition

```ruby
module RPG
  class Event
    class Page
      def initialize
        @condition = RPG::Event::Page::Condition.new
        @graphic = RPG::Event::Page::Graphic.new
        @move_type = 0
        @move_speed = 3
        @move_frequency = 3
        @move_route = RPG::MoveRoute.new
        @walk_anime = true
        @step_anime = false
        @direction_fix = false
        @through = false
        @always_on_top = false
        @trigger = 0
        @list = [RPG::EventCommand.new]
      end
      attr_accessor :condition
      attr_accessor :graphic
      attr_accessor :move_type
      attr_accessor :move_speed
      attr_accessor :move_frequency
      attr_accessor :move_route
      attr_accessor :walk_anime
      attr_accessor :step_anime
      attr_accessor :direction_fix
      attr_accessor :through
      attr_accessor :always_on_top
      attr_accessor :trigger
      attr_accessor :list
    end
  end
end
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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-event-page.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.
