I am making a terraria like game and I want to make it so when blocks are "placed" they go into the grid not all over the place... is this possible to do easily?
Develop games in your browser. Powerful, performant & highly capable.
You'd probably have to use an array, i'd help more but arrays are the most confusing thing in the world to me.
How have you got your grid set up?
Are you using a tilemap or something else?