---
title: WalkableSurfacesState
summary: Type alias in @bimworks/viewer3d.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewer3d
---

# WalkableSurfacesState

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewer3d` · Type alias

````typescript sdk=js sdk-namespace="@bimworks/viewer3d"
type WalkableSurfacesState = "flat" | "ramp" | "stair" | "door" | "low" | "narrow" | "notFloor" | "occupied" | "unknown";
````

The states of the walkable-surfaces view, keys of `WalkableSurfacesViewHandle.statistics`:
- layer `walkable`: `flat`, `ramp`, `stair`, `door`;
- layer `limits`: `low` (headroom below the character's height), `narrow` (an obstacle closer than its radius);
- layer `notWalkable`: `notFloor` (the top of an obstacle, or too steep);
- layer `federation`: `occupied` (walkable in its own model, but another loaded model has a solid in the
  character's body there);
- layer `unknown`: another model has a solid above head height there and nothing below it that says where it
  starts, or something from more than 0.6 m below the floor whose next top is above step height; drawn as an
  outline over the floor's own colour.
