Shuriken via Script

Hello,
is there a way to change the “color over lifetime” value via script at runtime?
or is there a way to change the endcolor of the particles at runtime?

thx for help…

(i’m using javascript)

You should be able to, reference the particle object in your script and look at some documentation which shows exposed members.

Scripting refererence