# int cmdcost_stamina()

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
int cmdcost_stamina()
```

## Description

Returns the cached stamina cost or obtains it from the current script command context.

## Parameters and return type

**Return type:** `int`

This signature takes no additional arguments.

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-ed9f42ace11ccf.md)
- [JSON](/imperivm/CKS/api/entries/api-ed9f42ace11ccf?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
