Rotate Gesture 3D
Using the RotateGesture3D to rotate entities around an axis.
Code snippets and examples of using common APIs throughout visionOS development
Using the RotateGesture3D to rotate entities around an axis.
Using the MagnifyGesture to scale entities.
A simple example of using DragGesture to move entities.
We can use Long Press Gesture to perform an action or update our scene after a delay.
Spatial Tab Gesture adds the location of the tap on the entity. We can use this to place indicators or spawn new models in our scene.
Starting in visionOS 2, volumes can be tilted to face the users. This can make Volumes much more useful when sitting or lying down.
visionOS 2 brought us a new way to show users an indicator for the bottom of a Volume.
Did you know you can create your own custom file templates to use in Xcode? These have been a huge time save in my work for Step Into Vision.
Using the system tap gesture with RealityKit.
Learn the core concepts to use SwiftUI gestures with entities in a RealityView.
As of January 2026 and visionOS 26.2, we cannot use pushWindow with Volumes.
We can use the defaultWindowPlacement scene modifier with Volumes, but there are a few things to keep in mind.