Ran into an issue and hoping this would solve it. I have an Image Element and I’m trying to set its opacity.
var ent = this.app.root.findByName('something');
ent.**componentname**.opacity = 0.5;
console.log("Image Opacity: " + entAll[i].**componentname**.opacity);
But I can’t seem to get that property or change it (Returns Undefined):
https://developer.playcanvas.com/en/api/pc.ElementComponent.html