# Add Rectangle To Region

Grammar — Add a state|Positive/Negative rectangle (minx, miny, maxx, maxy) to r
FlagsNative | Action

Adds a rectangle to a region.

# Arguments

  • region — Region
  • bool<preset::Region_State> — State
  • fixed — Min X
  • fixed — Min Y
  • fixed — Max X
  • fixed — Max Y

Returns — void

native void RegionAddRect(
	region r,
	bool positive,
	fixed minx,
	fixed miny,
	fixed maxx,
	fixed maxy,
);

Category: Region / Creation

# Examples

— None found —