How to access GameObject[] array in PlayMaker

have a specific issue… need to access THIS array thru the script and make changes.

Thanks in advance!

I couldn’t get the Controls property to accept game objects for the array. I created a property directly in a script. After that I was able to drag items from my scene to populate the array. I then move the items into the FSM Array when the scripts starts.

 public GameObject[] Waypoints;

    // Use this for initialization
    private void Start()
    {
       
        var array = FsmVariables.GlobalVariables.GetFsmArray("PossibleWaypoints");
        array.Resize(Waypoints.Length);

        for (var i = 0; i < Waypoints.Length; i++)
        {
            array.Set(i, Waypoints*);*

}
}