Module · Engine client only
camera
Shake the view or change the field of view. The player's comfort settings always win. Needs the "camera" permission.
camera.shake(strength?: number, seconds?: number)
client only
Shakes the view. Strength is roughly how far it moves, in metres.
camera.shake(0.15, 0.4)camera.zoom(degrees: number)
client only
Widens (positive) or narrows (negative) the view by some degrees, until you set it back to 0.
camera.zoom(-20) -- look closer
timer.after(2, function() camera.zoom(0) end)