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

# PropertyEnum

PropertyEnum is a [Property](https://rive.app/docs/scripting/api-reference/data-value/property.md) with additional enum-specific APIs.

## Methods

### `values`

```lua theme={null}
values() -> EnumValues
```

Returns the available enum values

```lua highlight={6} theme={null}
local vmi = context:viewModel()
if vmi then
    local textAlignment = vmi:getEnum('textAlignment')

    if textAlignment then
        local values = textAlignment:values()
    end
end
```
