> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getlurk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Levels, passes and appearance

> Draw a unit as an amount, a thing or a level. Make a level that starts at 1, or a pass that follows an audience.

A [unit](https://docs.getlurk.com/units.md) can be drawn in different ways, and a level or a pass is a unit with particular switches.

## How it looks

`shows_as` says how an app should draw it: `amount` (a token and a number), `thing` (its own picture, like a badge or a coupon) or `level` (a hexagon with the level in it). `color` is one of `blue`, `green`, `amber`, `red`, `purple`, `pink`, `teal` or `gray`, or nothing: each app picks its own shade for the name, so a color never has to be a hex value that is hard to read on a dark background. Both are labels for apps. Lurk does not act on them.

## Levels

A level is a unit that only goes up and starts at 1. `starts_at` is what a person **first heard of from now on** begins with: it is written as a receipt the first time Lurk sees them, so the receipt says where it came from.

```json theme={null}
{ "name": "Level", "group": "progress", "shows_as": "level", "switches": { "goes_down": false, "starts_at": 1 } }
```

To move up a level at every 100 XP, use a rule that follows a balance ([`every`](https://docs.getlurk.com/rule-triggers#a-rule-can-repeat-every-so-many)). People Lurk already knew keep what they hold: `starts_at` does not rewrite them. A unit with a supply cannot have a start.

## Passes and roles

A pass is a unit a person holds exactly one of while they are in an audience, and none of when they are not. `held_by` is the audience's key. Lurk keeps it true, checking every few minutes, with a receipt for each change (`via: "system"`). Rules and gives cannot change a held unit by hand. It needs a cap of 1 (set for you), and it cannot also expire, have a supply or a start.

```json theme={null}
{ "name": "VIP pass", "group": "perk", "shows_as": "thing", "switches": { "held_by": "vips" } }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.