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);
Did this page help you? Please enter your feedback below. For questions about using this part of the platform, please contact support here