--- title: useCopyAs status: published category: ui group: Function author: api date: 06/23/2023 order: 62 ---Public Function ##### Parameters None ##### Returns ```ts (ids?: TLShapeId[], format?: TLCopyType) => void ``` ##### References [TLShapeId](/gen/tlschema/TLShapeId-type), [TLCopyType](/gen/editor/TLCopyType-type)