# Action/Event Info

{% hint style="info" %}
**Block Information**

Available in: Page Flow

Toolbox Category: Action - Event

Block Type: [Output](/app-editor/page-flow/block-anatomy.md#output-block)

Output Type: [*object*](/app-editor/page-flow/references/value-types.md)
{% endhint %}

**`Action/Event Info`** is an [output block](/app-editor/page-flow/block-anatomy.md#output-block) that provides information about a user-interaction event when used inside the *Tasks* flow parameter of the [Mouse/Keyboard Action](/app-editor/page-flow/toolbox-blocks/mouse-keyboard-action.md) , [Event Action](/app-editor/page-flow/toolbox-blocks/event-action.md) and similar blocks. The output is of type [*object*](/app-editor/page-flow/references/value-types.md) and is compatible with [Value Parameters](/app-editor/page-flow/block-anatomy.md#value-parameters) of type [*object*](/app-editor/page-flow/references/value-types.md) or of type [*any*](/app-editor/page-flow/references/value-types.md).

<div align="left"><figure><img src="/files/s5jtuow1lIldQRfKDwzl" alt="" width="216"><figcaption><p>Action/Event Info block</p></figcaption></figure></div>

{% hint style="warning" %}
The Action/Event Info block only works when used inside the *Tasks* [flow parameter](/app-editor/page-flow/block-anatomy.md#flow-parameters) of the [Mouse/Keyboard Action](/app-editor/page-flow/toolbox-blocks/mouse-keyboard-action.md), [Event Action](/app-editor/page-flow/toolbox-blocks/event-action.md) and similar blocks.
{% endhint %}

***

## Properties

The user-interaction event information is in the form of an *object* with the following properties:

<table><thead><tr><th width="180">Property Name</th><th>Description</th></tr></thead><tbody><tr><td>xpos</td><td>x-coordinate of the mouse pointer position.</td></tr><tr><td>ypos</td><td>y-coordinate of the mouse pointer position.</td></tr><tr><td>element</td><td>Reference to the element on which the interaction event occurred.</td></tr><tr><td>name</td><td>This relates to dynamic content and information provided <a href="/pages/gHZ89kV1YN6RGboAMP0M#event-information">here</a>.</td></tr><tr><td>id</td><td>This relates to dynamic content and information provided <a href="/pages/gHZ89kV1YN6RGboAMP0M#event-information">here</a>.</td></tr><tr><td>id2</td><td>This relates to dynamic content and information provided <a href="/pages/gHZ89kV1YN6RGboAMP0M#event-information">here</a>.</td></tr><tr><td>design</td><td>This relates to dynamic content and information provided <a href="/pages/gHZ89kV1YN6RGboAMP0M#event-information">here</a>.</td></tr><tr><td>domEventInfo</td><td>Reference to the DOM's event information object for more advanced usage. See <a href="https://developer.mozilla.org/en-US/docs/Web/API/Event">here</a> for more information.</td></tr></tbody></table>

***

## Usage Example

The image below shows an example of the Action/Event Info block used inside the *Tasks* [flow parameter](/app-editor/page-flow/block-anatomy.md#flow-parameters) of the [Event Action](/app-editor/page-flow/toolbox-blocks/event-action.md) block.

The [Show Information Popup](/app-editor/page-flow/toolbox-blocks/show-information-popup.md) block is used to display the x and y coordinates of the mouse pointer when the click event occurred.

<figure><img src="/files/ELv1ggeXDL8uGSKW8LAw" alt=""><figcaption><p>Example of Action/Event Info block</p></figcaption></figure>


---

# 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://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/action-event-info.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.
