# Input hints

All interactions extends from base class `Interactable` and should override next methods:

* `UsePrimaryActionHint()`&#x20;
* `GetPrimaryHintText()`
* `UseSecondaryActionHint()`
* `GetSecondaryHintText()`

This methods determine if action script will show any hints or not. For example:

<figure><img src="https://524543193-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylL7ZwJBpbHNRKxjM1Py%2Fuploads%2Fh8gueN3JjZg6iRvCE0Ov%2Fimage.png?alt=media&#x26;token=9d67d213-f86a-43aa-ad06-f4fd2c2a692f" alt=""><figcaption><p>Sample with both interactions</p></figcaption></figure>

```csharp
UsePrimaryActionHint() => true;
GetPrimaryHintText() => "Pick object";
UseSecondaryActionHint() => true;
GetSecondaryHintText() => "Examine";
```

<figure><img src="https://524543193-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylL7ZwJBpbHNRKxjM1Py%2Fuploads%2F7pAPsgm0XB3WyDCZlExq%2Fimage.png?alt=media&#x26;token=8c043baa-f1c5-46b4-a8ef-44cae3ede9df" alt=""><figcaption><p>Sample with primary only interaction</p></figcaption></figure>

```csharp
UsePrimaryActionHint() => true;
GetPrimaryHintText() => "Interact";
UseSecondaryActionHint() => false;
GetSecondaryHintText() => default;
```

{% content-ref url="input-hints/more-additional-action-hints" %}
[more-additional-action-hints](https://eis-2.gitbook.io/easy-interaction-system/creating-new-interactions/interaction-anatomy/input-hints/more-additional-action-hints)
{% endcontent-ref %}

> Also, remember: If you want that action hints to be changed, you need to call method [`UpdateHints()`](https://eis-2.gitbook.io/easy-interaction-system/creating-new-interactions/interaction-anatomy/input-hints/updatehints) from interaction script.


---

# 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://eis-2.gitbook.io/easy-interaction-system/creating-new-interactions/interaction-anatomy/input-hints.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.
