> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # ui.startDragToPoint API reference for the ui.startDragToPoint method. NOTE: **This API is a preview**. Preview APIs are unstable and may change without warning. You can't release public apps using this API until it's stable. Adds the specified element or content to fixed designs, which use a coordinate-based positioning system at the end of a drag event. ## Parameters A drag start event. Properties of event}> Element or content to be added to the design at the end of the drag event. Audio track to be added to the design at the end of a drag event. The type of element. The only valid value is `"audio"`. A function that returns a reference (ref) to an audio asset in Canva's backend. **Returns** A `Promise` that resolves with the following object: A unique identifier that references an audio asset in Canva's backend. The duration of the audio track, in milliseconds. A human readable title for the audio track. Embed element to be added to the design at the end of a drag event. The type of element. The only valid value is `"embed"`. The dimensions of the preview image. Properties of previewSize}> A width, in pixels. A height, in pixels. The URL of an image to display under the user's cursor during the drag and drop event. The URL of media that can be embedded, such as the URL of a YouTube video. This URL must be supported by the Iframely API. Text element or content to be added to the design at the end of a drag event. The type of element. The only valid value is `"text"`. The text content to drag. The alignment of the text. **Default value**: `"start"` **Available values**: * `"start"` * `"center"` * `"end"` * `"justify"` The weight (thickness) of the font. **Default value**: `"normal"` **Available values**: * `"normal"` * `"thin"` * `"extralight"` * `"light"` * `"medium"` * `"semibold"` * `"bold"` * `"ultrabold"` * `"heavy"` The style of the font. **Default value**: `"normal"` **Available values**: * `"normal"` * `"italic"` The decoration of the font. **Default value**: `"none"` **Available values**: * `"none"` * `"underline"` A unique identifier that points to a font asset in Canva's backend. Video element or content to be added to the design at the end of a drag event. The type of element. The only valid value is `"video"`. A function that returns a reference (ref) to a video asset in Canva's backend. **Returns** A `Promise` that resolves with the following object: A unique identifier that references a video asset in Canva's backend. The dimensions of the preview image. Properties of previewSize}> A width, in pixels. A height, in pixels. The URL of an image to display under the user's cursor during the drag and drop event. The dimensions of the full-size video. * These dimensions are used when adding the video to the design * If omitted, the `previewSize` dimensions are used as a fallback. Properties of fullSize}> A width, in pixels. A height, in pixels. Image element or content to be added to the design at the end of a drag event. The type of element. The only valid value is `"image"`. The dimensions of the preview image. Properties of previewSize}> A width, in pixels. A height, in pixels. A function that returns a reference (ref) to an audio asset in Canva's backend. **Returns** A `Promise` that resolves with the following object: A unique identifier that references an image asset in Canva's backend. The URL of an image to display under the user's cursor during the drag and drop event. The dimensions of the full-size image. Properties of fullSize}> A width, in pixels. A height, in pixels. ## Returns `Promise` ## Permissions To use this method, the `canva:design:content:write` permission must be enabled for the app. To learn more, see [Permissions](https://www.canva.dev/docs/apps/configuring-intents-permissions/).