# PlayMaker

Show native alerts (with optional text input) and date/time pickers.

## Actions (2)

* `NativeUIShowAlert` (buttons + optional single text input)
* `NativeUIShowDatePicker` (date/time picker)

## Key patterns

* `NativeUIShowAlert`:
  * Configure buttons using `buttonLabels` (array) and optional `cancelButtonLabel`.
  * Use `buttonClickedEvent` for any non-cancel button, and `cancelClickedEvent` for cancel.
  * Read `pressedButtonIndex`, `pressedButtonLabel`, and `enteredText` (when `enableTextInput = true`).
* `NativeUIShowDatePicker`:
  * Use `dateSelectedEvent` / `cancelledEvent`.
  * `selectedDate` is stored as an ISO 8601 UTC string in `FsmString`.

## Use cases

Start here: `use-cases/README.md`


---

# 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://assetstore.essentialkit.voxelbusters.com/features/native-ui/playmaker.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.
