I want to find a certain dialog in my dialog array, to give an example here is what it is in python:
Develop games in your browser. Powerful, performant & highly capable.
Did you intend in js?
const myArray = ["Zero", "One"]; const index = 0; console.log(myArray[index]);
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
Instead if you intend the plugin array see https://www.construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/plugin-interfaces/array
const myArray = runtime.objects.array.getFirstInstance(); console.log(myArray.getAt(0));