How do I add a value at X:2, Y:5 to an array?
Develop games in your browser. Powerful, performant & highly capable.
Like this. You should really read the documentation if you are new and look for basic stuff.
construct.net/make-games/manuals/construct-3