collides_with(layer) | What type of things can collide with this tile? |
name :: string [R] | Prototype name of this tile. |
A single "square" on the map.
What type of things can collide with this tile?
"ground-tile"
"water-tile"
"resource-layer"
"floor-layer"
"object-layer"
"player-layer"
game.local_player.print(tostring(game.local_player.surface.get_tile(1, 1).collides_with("player-layer")))
Prototype name of this tile. E.g. "sand-dark"
or "grass-dry"
.