# sm.debugDraw

The <strong>Debug Draw</strong> api can be used for drawing geometric primitives for debug purposes.

**Kind:** API page

**Environments:** Game, Terrain

## Game

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.debugDraw.md)

## Terrain

[Open the full Terrain reference](../Terrain-Script-Environment/Static-Functions/sm.debugDraw.md)
