How can I use JS to get a copy of an object by UID in Actions?
The code below does not work
var _sprite; _sprite = runtime.objects.Sprite.getInstanceByUid("3"); _sprite.opacity = 0.2;
Develop games in your browser. Powerful, performant & highly capable.
If you look in the documentation, the getInstanceByUid() method is only available on runtime.
getInstanceByUid()
runtime