instance_activate_region - activate all instances inside or outside of a region
instance_activate_region ( left, top, width, height, inside )
- left - left corner of region, as a number
- top - top corner of region, as a number
- width - width of region, as a number
- height - height of region, as a number
- inside - true or false
instance_activate_region() activates all instances inside or outside a region. If inside is set to true, it will activate instances contained in the region. If it is set to false, it will activate all instances outside the region.
Example of Use
In this example, instance_activate_region() will activate all instances inside a 100x100 region located at the top, left corner of the room.