# Skill Button

## Description

A Skill and Button control type used for skill without directional aiming. Supports skill activation, cooldowns, and cancellation.

<figure><img src="/files/2LG2leKJHsb07k3kuMhe" alt="" width="420"><figcaption></figcaption></figure>

## Common

* `Input Simulate` : The Button control path of the input control to be simulate.
* `Input Execution` : Defines how the value transitions or updates during button press and release.
  * `Momentary` : Sends a value of `1` while the button is pressed, and `0` when released.
  * `Press Pulse` : Sends a value of `1` while the button is pressed, and `0` when released.
  * `Press Pulse` : Sends a value of `1` immediately when the button is released, followed by `0`.
* `Is Usable` : Determines whether the Skill Button can be used.

## Cooldown

* `Fill` : A reference to a image component with image type set to filled.
* `Text` : A reference to a text or TMP component to display the remaining cooldown.
* `Format`  : The number format wrapped with curly braces used when displaying the cooldown as text. \
  e.g.  &#x20;
  * {0} → 12    &#x20;
  * {0.0} or {1} → 12.3
  * {0.00} or {2} → 12.34
* `Duration` : The total time duration to finish the cooldown.
* `Time Mode` : The time scale that affects the duration of the cooldown.
* `Is Manual` : Determines whether the cooldown is managed manually (via Instruction or scripting). If set to false, the cooldown starts automatically after casting.

## Cancellation

* `Cancel Area` : A reference to a Tactile Control component. Interactions such as press, release, etc. of a Cancel Area will also trigger regardless if its interactable or not when using the Skill Button.
* `Is Inverted`  : If true, cancellation is triggered outside the Cancel Area. If false, it is triggered inside the area.


---

# 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://niam.gitbook.io/documentation/game-creator-2/tactile/control-type/skill-button.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.
