# void ItemUsed(int)

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

## Exact signature

```text
void ItemUsed(int)
```

## Description

Deducts a script-supplied amount from a registry object's dword and invokes its virtual slot zero when nonpositive.

## Parameters and return type

**Return type:** `void`

| Position | Type |
| --- | --- |
| 1 | `int` |

## Read and share

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

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