Set "Flat Line Ends" via a Script?

Is it possible to enable the "Flat Line Ends" setting via a script?

image

The are two primitives for this at the bottom of the sensing category, no need for the Getters & Setters library.
untitled script pic (4)
untitled script pic (5)

Fantastic ... Thank you so much!

Not seeing them on my computer
image

Aah - got it now :slight_smile:
image

I wanted to make a solid bar.

image

Thanks for the assist!

What does flat lines end even do?

Flat line ends makes the end of pen lines, well, flat. Normally they're rounded.