Garry's Mod Wiki

DTileLayout:SetTile

  DTileLayout:SetTile( number x, number y, any state )

Description

This is used internally - although you're able to use it you probably shouldn't.

Called to set the occupied state of a tile.

Arguments

1 number x
The x coordinate of the tile.
2 number y
The y coordinate of the tile.
3 any state
The new state of the tile, normally 1 or nil.