How can I access the "Gravity"-Vector3 of "Particles2D" (in "Process Material") via GDScript?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DieSandhexe

Hey guys!

I’m really new to Godot but want to learn more and more about the engine and it’s own language. Right now I’m busy with the particle system. I just do not know how I can access the “Gravity”-Vector3 of a “Particles2D”-Node (in “Process Material”-Category) via GDScript?
In the Inspector it isn’t a problem to edit this property but I don’t know how to do it in the script…

Can someone help me?