Garry's Mod Wiki

DTileLayout:FitsInTile

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

Description

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

Determines if a group of tiles is vacant.

Arguments

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.

Returns

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