Skip to content

QuerySensorMode

QuerySensorMode = "exclude" | "include" | "only"

Defined in: physics/src/types.ts:163

Which colliders a spatial query reports: "exclude" skips sensors and reports solid colliders only (the default — a ground check or line of sight means surfaces, and a trigger zone is not one), "include" reports both, "only" reports sensors only.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/physics.md.