# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/using-fixed-point-camera-devices-in-fortnite-creative
# Local doc: epic-docs/documentation/en-us/fortnite/using-fixed-point-camera-devices-in-fortnite-creative.md
# Section: Use Fixed Point Camera In Verse
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# A Verse-authored creative device that can be placed in a level
gameplay_camera_fixed_point_device_verse_example := class(creative_device):
# Reference to the Gameplay Camera Fixed Point Device in the level.
# In the Details panel for this Verse device,
# set this property to your Gameplay Camera Fixed Point Device.
@editable
MyFixedPointCamera:gameplay_camera_fixed_point_device = gameplay_camera_fixed_point_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
Print("Adding fixed point camera to players.")
# This example iterates through all players in the experience to show how to do operations per player on the device.
for (Player : GetPlayspace().GetPlayers()):
# Adds the camera to the `Agent`'s camera stack and pushes it to be the active camera.
MyFixedPointCamera.AddTo(Player)
# Wait 5 seconds
Sleep(5.0)
Print("Removing fixed point camera from players.")
# Removes the camera from all `Agent`s camera stacks and pops from being the active camera replacing it with the next one in the stack.
MyFixedPointCamera.RemoveFromAll()
Verse Library
verse
01 Use Fixed Point Camera In Verse
Custom creative device that temporarily assigns a fixed-point camera to all active players.
extracted-snippets/documentation/en-us/fortnite/using-fixed-point-camera-devices-in-fortnite-creative/01-use-fixed-point-camera-in-verse.verse