Skip to content

CameraFollowConfig

cs_script API / CameraFollowConfig

interface in cs_script/point_script.

    CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · schema format 2.2

    Members

    followEntity

    followEntity: Entity

    The entity to follow

    followEyes

    followEyes?: boolean

    Should followOffset be an offset from the eyes instead of the origin

    followOffset

    followOffset?: Vector

    An offset from the origin (or eyes) of followEntity to follow

    cameraOffset

    cameraOffset?: Vector

    An offset from the followed position rotated by player's eye angles. x is forward, y is left, z is up.

    clipCameraOffset

    clipCameraOffset?: boolean

    Should cameraOffset be pulled in to not clip into solids.

    cameraOffsetReturnStrength

    cameraOffsetReturnStrength?: number

    Strength of returning the camera to cameraOffset after being pushed in by clipping. Defaults to 1; instant.