Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Obsolete
Use areaMask instead.

NavMeshAgent.walkableMask

Switch to Manual
public var walkableMask: int;

Description

Specifies which NavMesh layers are passable (bitfield). Changing walkableMask will make the path stale (see isPathStale).