Garry's Mod Wiki


  boolean DTileLayout:FitsInTile( number x, number y, number w, number h )


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

Determines if a group of tiles is vacant.


1 number x
The x coordinate of the first tile.
2 number y
The y coordinate of the first tile.
3 number w
The width needed.
4 number h
The height needed.


1 boolean
Whether or not this group is available for occupation.