How to set Vector Observation Space size from code

Hi! I can’t seem to figure out how to set the number of observations from code. Can’t see anything about it in the docs. I want to be able to configure which observations are used from my YAML file for testing without having to rebuild my project for each case.

Ah I see you can access behaviorParameters.BrainParameters.VectorObservationSize and set it that way. Whoops!