Skip to main content
New Participant
February 22, 2025
Solved

First Person On Mobile?

I've seen examples of worlds that allow a first-person view on mobile, however, I haven't been able to find any documentation on how to do this. Can someone enlighten me or point me to the documentation for this?

NullValuePoint
Inspiring
February 22, 2025

You'll need to use Typescript and on desktop make sure the Camera API is turned on. You'll need to run the script locally on the person you want to control the camera on. After that, you can make changes to XS camera locations including 1st and 3rd person and even anywhere else in the world. I believe there's a tutorial in the documentation.

3 replies

Shards632
Honored Contributor
February 22, 2025

there are typescript apis to change the camera, but you can also do so via a spawn point gizmo.

June Programming Calendar
NullValuePoint
Inspiring
February 22, 2025

You'll need to use Typescript and on desktop make sure the Camera API is turned on. You'll need to run the script locally on the person you want to control the camera on. After that, you can make changes to XS camera locations including 1st and 3rd person and even anywhere else in the world. I believe there's a tutorial in the documentation.

Inspiring
February 22, 2025

You can go into the properties of the spawn-point and change camera view options. If you wanted to change camera views throughout gameplay, you would need to set that up using typescript.