Garry's Mod Wiki

DTileLayout:ConsumeTiles

  DTileLayout:ConsumeTiles( number x, number y, number w, number h )

Description

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

Called to designate a range of tiles as occupied by a panel.

Arguments

1 number x
The x coordinate of the top-left corner of the panel.
2 number y
The y coordinate of the top-left corner of the panel.
3 number w
The panel's width.
4 number h
The panel's height.