Tile Swap

Hi.


I'm trying to work with game map tiles and need to know how could I swap a tile in the map.


In RGSS3 was possible to access the map data as follow:


$game_map.data[x,y,z]


and then I could store or change it as needed. But now in MV I noticed the structure has changed and I have no clue on how to do this.


So, how can I change the tile (all layers) at position [0,0] for the one at the position [1,0] of the loaded map?


Can someone help me?
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.


at OP's request

Original thread: https://forums.rpgmakerweb.com/threads/tile-swap.58528/