---
title: "instance_index: builtin value, TypeShade language reference"
description: "instance_index, a builtin value in the TypeShade language reference. The index of the current instance within its draw call."
url: https://typeshade.dev/reference/builtin-values/instance_index/
language: en
---

# `@builtin("instance_index")`

Builtin value

The index of the current instance within its draw call.

**Valid in**

vertex input

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

## Syntax

`@builtin("instance_index"): u32`

## See also

- [Builtin values](https://typeshade.dev/reference/builtin-values/)
