How can I get sheet content by javascript?

I seem to be able to get all the ActionSheets by way of studio.project.model.ActionSheet.findInstances() and get which Event the ActionSheet exists in by way of actionSheet.event.
Is there a way to get if it has an ActionSheet by Event?


How do you get each Instrument in an ActionSheet? I guess maybe actionSheet.modules.sounds.


How do I get what specific action a Command Instrument performs?
I selected Set Parameter for Command Type in Command Instrument, which seems to correspond to actionSheet.modules.sounds[0].commandType.
The Value parameter seems to correspond to actionSheet.modules.sounds[0].targetValue.
The Target parameter seems to correspond to actionSheet.modules.sounds[0].commandTarget, which is an instance of ManagedObject:GameParameter.

I don’t know if my speculation is correct.


In actionSheet.modules.sounds[0].commandTarget, an instance of ManagedObject:GameParameter is available, but it does not have a member with name.
The ManagedObject:ParameterPreset is the instance with the name member, which is consistent with what is shown in FMOD Studio’s Preset Browser.
What is the relationship between ManagedObject:GameParameter and ManagedObject:ParameterPreset?