---
title: Tracking a handheld accessory as a virtual sculpting tool
framework: realitykit
role: sampleCode
role_heading: Sample Code
path: realitykit/tracking-a-handheld-accessory-as-a-virtual-sculpting-tool
---

# Tracking a handheld accessory as a virtual sculpting tool

Use a tracked accessory with Apple Vision Pro to create a virtual sculpture.

## Overview

Overview note: This sample code project is associated with WWDC25 session 289: Explore spatial accessory input on visionOS. Configure the sample code project Because this sample app has hardware requirements, it won’t run in Simulator. Instead, you’ll need to build the sample and run it on Apple Vision Pro, using a tracked accessory for sculpting.
