<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxPathAPI_v3/setPath(_:toColor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxPathAPI_v3(im)setPath:toColor:error:"
  },
  "title" : "setPath(_:toColor:)"
}
-->

# setPath(_:toColor:)

Sets the color the host app uses to draw the path with the given ID.

```
func setPath(_ pathID: FxPathID!, toColor newColor: FxPathColor) throws
```

## Parameters

`pathID`

The ID of the path you want to draw in a different color.

`newColor`

The FxPathColor to use to draw the path in.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)