How do you set an object visible / invisible using script?
something like runtime.object.getFirstInstance().setVisible ???
Develop games in your browser. Powerful, performant & highly capable.
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/object-interfaces/iworldinstance
const instance = runtime.objects.Sprite.getFirstInstance(); instance.isVisible = false;
thx so much