SparkProperties
Provides access to the properties for the current game.
var properties = Spark.getProperties();
getProperty
signature getProperty(string propertyShortCode)
returns JSON
Returns the property with the given shortCode, as JSON
example
var property = Spark.getProperties().getProperty(propertyShortCode);
getPropertySet
signature getPropertySet(string propertySetShortCode)
returns JSON
Returns the property set with the given shortCode, as JSON
example
var propertySet = Spark.getProperties().getPropertySet(propertySetShortCode);