I want to use tiles to add blood decals to the floor, but the tiles are not being created and I keep getting this in the output window I'm using this code to place the tiles: Code: var n = layer_get_id("tiles"); layer_tile_create(n,x,y,tile_blood,1,1,16,16); As you can see, I do have a tiles layer named "tiles" in the room. I checked the manual to make sure I was using the functions right, but it seemed like it was okay. Could this be a bug or is there something I'm still doing wrong? EDIT: I just read about layer_tile_create() in the manual. It says I should never use it outside of compatibility scripts. Why is that? And if I can't use this function, how do I add tiles to a tile layer?