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?
Develop games in your browser. Powerful, performant & highly capable.
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
Oh, ok... make sense. Thank you for your help =)