With instance_count_region, you can count the number of (specific) instances in a specific region, e.g. in a circle. It's really easy to use, you just need to use the scripts.

Actually you can use:

  • rectangle
  • circle
  • ellipse

Maybe i will add some more region shapes, like a star or something like that.


count = instance_count_rectangle(0,0,128,128,0,0);

count = instance_count_circle_object(0,0,128,128,obj_test,0,0);

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.0.1. Published March 23, 2015

Added instance_count_(region)_object.

With instance_count_(region)_object, you can count the number of an specific instance in a specific region.

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top