---
title: Creating an App for Face-Painting in AR
framework: realitykit
role: sampleCode
role_heading: Sample Code
path: realitykit/creating-an-app-for-face-painting-in-ar
---

# Creating an App for Face-Painting in AR

Combine RealityKit’s face detection with PencilKit to implement virtual face-painting.

## Overview

Overview note: This sample code project is associated with WWDC21 session 10074: Dive into RealityKit 2. Configure the Sample Code Project This project requires an iPhone or iPad running iOS 15 or iPadOS 15. It doesn’t support running in Simulator.

## See Also

### Body and face tracking

- [Occluding virtual content with people](arkit/occluding-virtual-content-with-people.md)
- [Placing entities using head and device transform](visionos/placing-entities-using-head-and-device-transform.md)
- [BodyTrackingComponent](realitykit/bodytrackingcomponent.md)
- [BodyTrackedEntity](realitykit/bodytrackedentity.md)
- [HasBodyTracking](realitykit/hasbodytracking.md)
