Hey guys. Doubt. I have an array created with events and, I want to manipulate it using JS, like:
let myArray = runtime.objects.arrayWaves.getFirstInstance(); myArray.push("hello");
Is it possible?
There is no push method, but you can increase array size and use setAt()
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/plugin-interfaces/array
Develop games in your browser. Powerful, performant & highly capable.
Oh, ok... make sense. Thank you for your help =)