Complete the code to set the export scale to 2x in Figma.
exportSettings.scale = [1]Setting exportSettings.scale to 2 means the export will be at double the original size.
Complete the code to export a frame as a PNG with 1x scale.
frame.exportAsync({ format: 'png', scale: [1] })Using scale: 1 exports the frame at its original size.
Fix the error in setting the export scale to 0.75 (75%).
exportSettings.scale = [1]The scale must be a decimal representing the multiplier, so 0.75 means 75% size.
Fill both blanks to export a selection as a JPG at 3x scale with quality 80.
selection.exportAsync({ format: [1], scale: [2], quality: 80 })Use 'jpg' for JPG format and 3 for 3x scale to export a high-resolution JPG.
Fill all three blanks to export a component as SVG with no scaling and include outline strokes.
component.exportAsync({ format: [1], scale: [2], outlineStrokes: [3] })SVG format is 'svg', scale 1 means original size, and true enables outline strokes.
