Gather a layer style gradient overlay colours data
Hi!
I don't know if this is possible but I would need to gather this data:

I need to gather those 4 gradient points values. Is that possible?
#target aftereffects
{
var theComp = app.project.activeItem;
var theLayer = theComp.selectedLayers[0];
alert(theLayer.layerStyle.gradientOverlay.colors);
}
This exists, but I don't know which one the next step would be. I need to get inside colors, but "value" gives me an error. How could I do it?