How to modify an individual stroke?

Hey all,

I'd like to change the colors of individual strokes in a drawing. Printing PKDrawing().strokes returns an array with multiple PencilKit.PKStroke items but I can't seem to modify neither the array or its items.

What's the best way to go about this?