Gameplay

NavMesh Areas

NavMesh Areas can affect NavMesh generation and agent behavior/pathing. The NavMeshArea component is used to define the location, shape and type of an area.

You can also specify the Area for a link component.

The NavMeshAreaDefinition resource is used to define properties of the Area.

  • Currently there is a limit of 24 NavMeshAreaDefinition, but you can assign them to as many Area Components as you like
  • Static areas are basically free.
  • Moving areas are a bit more expensive, but you should be able to have at least a couple of dozens of them.

Source: Facepunch/sbox-docs (CC-BY-4.0) · updated 2025-10-29. Read it rendered on the official docs.

More in Gameplay

Community wiki — not affiliated with Facepunch Studios. For the latest and most authoritative information, see the official developer wiki.