# Unreal Engine XR template

> An Unreal Engine 5 project for OpenXR headsets whose level is a Python script: scanned furniture and props at real size, daylight that bounces, things to grab and switch, Blueprints the agent writes.

Source: https://graspable.dev/templates/unreal-xr

Plan: Pro and higher. See https://graspable.dev/pricing.md.

## What you start with

Unreal Engine 5 + OpenXR, high-end rendering, the level written as Python. The level is a Python script that your own Unreal Editor builds, so it can be read, reviewed and changed as text.

## Where it runs

OpenXR headsets, packaged with Unreal Engine on a computer set up for it. While you work, the game runs on a flat screen and the agent sees a picture of it.

Native setup: https://graspable.dev/docs/native-xr.md

## Requests to try

- A sales suite for a penthouse: a living room with a wall of glass onto a terrace, oak floor, a sofa group, late afternoon sun. A switch by the door changes between a day and an evening lighting scene.
- A showroom for a kitchen island at real size: stone worktop, timber fronts, three bar stools, pendant lamps, daylight from a window wall, and a panel to switch the worktop between three finishes.
- A machine start-up station for training operators: a console with a main power lever that switches the work lamp and a status sign, in a plant room with real tools on the bench.
- A product launch stand: one object on a lit plinth in a dark hall, three spotlights, a wall of brand text, and a lever that turns the plinth.
- A maintenance bench: a cabinet with doors on hinges and drawers on rails that I open by hand, real tools that I pick up, and a labelled place for each.

## How a run ends

The agent edits the project on your computer. A run ends only when it builds its level without errors.

## Examples

- [A penthouse sales suite in Unreal Engine](https://graspable.dev/a/tbmqne63): The living room of an apartment that is not built yet, for buyers to walk through in a headset: low sun across an oak floor, a wall of glass onto a terrace, and a lever that changes day to evening.
- [A kitchen island showroom in Unreal Engine](https://graspable.dev/a/k4am2tqi): A kitchen island at real size with an oak worktop, a sink, bar stools and pendant lamps, written as a script and built by Unreal Engine.
- [A machine start-up station in Unreal Engine](https://graspable.dev/a/olyzk6ka): A plant-room console for training operators: pull the main power lever down and the work lamp comes on and the sign reads POWER ON.

## Start a project

Get Graspable at https://graspable.dev/download. Choose Unreal Engine XR when creating a project. For an existing agent, see https://graspable.dev/docs/use-with-ai-agents.md.
