---
title: "module::debug::drawLine"
framework: Compute Graph
role: symbol
role_heading: Function
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/module/debug/drawline
---

# module::debug::drawLine

Draws a debug line

## Declaration

```swift
void module::debug::drawLine(float3 from, float3 to, half4 color)
```

## Parameters

- `from`: Start of line
- `to`: End of line
- `color`: Color of line

## Discussion

Discussion Debug Lines are not enabled by default. You enable them in your editor or by setting LinkOptions/debugDraw to true when compiling your pipelines, and assigning a DebugLinesProvider to your ComputeGraphSimulation. note:
