I have the following code:
const docGroup = new Group({
name: ‘@Note’
})
const noteSymbolInstance = noteSymbolMaster.createNewInstance()
noteSymbolInstance.parent = docGroup
const arrowSymbolInstance = arrowSymbolMaster.createNewInstance()
arrowSymbolInstance.parent = docGroup
const page = doc.selectedPage
docGroup.parent = page
Right now, the two symbols are positioned right on top of each other, in the top left corner of the group. I want to position the second symbol to the right of the first one, within the group. My question is this: How do I position a symbol within a group? This would be before adding it to the page.
Sketch version: 87.1