HighlightArea

HighlightArea
void HighlightArea ( int TileX, int TileY, int SizeX, int SizeY, int Window) Function is located within Inventory/script/HUD_Funcs.dh

Parameters:

 * TileX/Y - The integer pointer to the array position
 * SizeX/Y - The integer size of the item
 * Window - The integer pointer to the array

Description:
HighlightArea is called when the cursor is hovering over a GridButton while holding an item.

It displays either a neutral grey, green or red box over the area of the item held, depending on whether that item is placeable, stackable or blocked, respectively.