so im trying to make a text that will change depending on what the ammount of an object is but i cant get the text to change?
let score = plant.itemCount
const textObject = runtime.objects.Text;
const textInstance = textObject.getFirstPickedInstance();
textInstance="score";
i know some of the code works i think its only the textinstance = score that isnt working