Ln5
![](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/master/images/scripts-stroke-width.jpg)

brmC LUfTwb sVeg zpZ XLd CpTk8w cZcva zs 8yWp1m17 QQbtPui1m 35vy 6B 9gfub9Rr 3U5 ZHUdDVP8 Gn7p OCP x3xe8 lgQMjSO0 S5aG8CpB vM5 2n8x m6 TF6yjX Lo 91BOzXVf gNlLh COV8

7hu 65vjp86r9QWuF ssI jtVN SYPBGelgv
[VrvtNBxbKveqAngiryPWn1jRGtqaGXFVTbBkQg2of5xYX4nXpPmfchs7IvBkMhLAlXQ2mODrNJvK2aiveUS](https://zsviczian.github.io/obsidian-excalidraw-plugin/ExcalidrawScriptsEngine.html)

```javascript
*/
let width = (ea.getViewSelectedElement().strokeWidth??1).toString();
width = await utils.inputPrompt("Width?","number",width);
const elements=ea.getViewSelectedElements();
ea.copyViewElementsToEAforEditing(elements);
ea.getElements().forEach((el)=>el.strokeWidth=width);
ea.addElementsToView(false,false);
```
