Skip to content

PlayerTrace

cs_script API / PlayerTrace

interface in cs_script/point_script.

Configuration object for Instance.TracePlayer

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

    Members

    start

    start: Vector

    end

    end?: Vector

    Leave undefined to just test if start is a valid position for the player.

    player

    player: CSPlayerPawn

    The player moving. Effects hull size and player collision.

    isDucked

    isDucked?: boolean

    Configure tracing as a ducked player, effecting the size of the traced Box. Defaults to the player's IsDucked() value.