AE scripting Grid to Guides
I am trying to create a simple script where Guides will be generated from the Grid. I know all of this is pretty basic, but I am having a problem accessing "Anchor" in the "Grid" effect. As you can see I am trying to test it just by accessing the name but even that doesn't work. I do not have a problem accessing for example property(4) which is "Width" and I can access the value of the same but with Anchor, I can not. Also, I would like to access each of the Anchor values [x,y] individually. Another question is the guides on/off visibility. I have used the line from "AE scripting guide 2022" but I am obviously missing something basic.
So to summarize:
1) how do I access Anchor in the Grid effect?
2) how do I access Anchor each [x,y] value individually?
3) what and I missing to enable/disable guides visibility with click on the "Visibility" button?
I am working in Visual Studio Code and this is what I wrote so far. Thank you in advance.
