> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gbox.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Basic

## Overview

**UI actions** are one of GBOX's core features, enabling AI agents to interact with devices just like humans do.

Through simple API calls, you can perform various operations including:

* **Clicking** on specific coordinates or elements
* **Scrolling** through content
* **Typing text** into input fields
* **Dragging** and other gesture-based interactions

> 💡 **[Explore More UI Actions →](/api-reference/ui-action/click)**
>
> Discover all available UI operations and advanced features.

## Quick Start Example

Here's a basic UI action example showing how to create an Android box and perform a click operation:

<CodeGroup>
  ```typescript TypeScript highlight={10-13} icon="https://cdn.worldvectorlogo.com/logos/typescript.svg" theme={null}
  import GboxSDK from "gbox-sdk";

  const gboxSDK = new GboxSDK({
    apiKey: process.env["GBOX_API_KEY"], // This is the default and can be omitted
  });

  async function main() {
    const box = await gboxSDK.create({ type: "android" });

    await box.action.click({
      x: 100,
      y: 100,
    });

    await box.action.screenshot({
      path: "screenshot.png",
    });
  }

  main();
  ```

  ```python Python highlight={11} icon="https://cdn.worldvectorlogo.com/logos/python-5.svg" theme={null}
  import os
  from gbox_sdk import GboxSDK

  def main():
      api_key = os.getenv("GBOX_API_KEY")

      gbox = GboxSDK(api_key=api_key)

      box = gbox.create(type="android")

      box.action.click(x=100, y=100)

      box.action.screenshot(path="screenshot.png")

  if __name__ == "__main__":
      main()
  ```
</CodeGroup>

<Card title="More UI Action Capabilities" icon="hand-point-up" href="/api-reference/ui-action/click">
  Explore the complete UI Action API reference to discover all available
  operations and features.
</Card>
