tldraw_create_highlight
Create translucent highlight strokes on a canvas by specifying points and color, emphasizing areas with a highlighter effect.
Instructions
Create a highlighter stroke shape from an array of points. Similar to draw but with translucent highlight appearance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position on canvas | |
| y | Yes | Y position on canvas | |
| size | No | Stroke size | m |
| color | No | Highlight color | yellow |
| pageId | Yes | Target page ID (e.g. 'page:xxx') | |
| points | Yes | Array of points for the highlight stroke | |
| opacity | No | Opacity from 0 to 1 (default 1) | |
| isLocked | No | Whether the shape is locked (default false) | |
| parentId | No | Parent frame or group ID for nesting | |
| rotation | No | Rotation in radians (default 0) |