MyScriptedInstance.SetData("name", "John");
float xPos = 5.0; MyScriptedInstance.SetData("xPos", xPos);This code sets the value of the "xPos" property for the MyScriptedInstance object to the value of the variable xPos. Package library: The cpp ScriptedInstance library is most likely a part of a larger package library that provides utilities for scripting and customization.