FollowOptions
Options for camera.follow.
Properties
Section titled “Properties”deadzone?
Section titled “deadzone?”
optionaldeadzone?:object
A box around the screen center, in screen pixels, where the target moves without moving the camera.
height
Section titled “height”height:
number
width:
number
optionallerp?:number
How quickly the camera catches up, from 0 to 1: the share of the distance it covers per frame at 60 fps (the same at any frame rate). 1, the default, keeps the target centered; 0.1 trails it smoothly.
