use
Parameters
block Id
Id of the block.
function Index
Index of useObject. First one is 0 and so on.
action
Action flag, to get possible actions of the block, check spaceEngineers.model.UseObject.primaryAction and spaceEngineers.model.UseObject.secondaryAction values.