A downloadable extension

Download NowName your own price

Quick links: Documentation · GM Marketplace page · Source code
Versions: GameMaker: Studio (1.4.1804+ only?), GameMaker Studio 2
Platforms: All of them

Historically GameMaker instances only had a single flag ("solid"), which was mutually exclusive with filtering instances by their type/parent, but, with introduction of collision list functions, we can do better, allowing to filter by type AND an arbitrary set of flags.

So, for instance, you can check whether your character is standing on a slippery solid block, or whether that block is jump-through, or find the nearest airborne target in a tower defense game, or many other uses.

See the demo project for an example!

GMS1 notes: When importing the extension alone, subsequently import the "collision_list_funcs" extension from its included files.

GMS2 notes: If using the demo, remove the "collision_list_funcs" extension after importing the project - it is only used to workaround an issue with GMS1.

Rated 5.0 out of 5 stars
(1 total ratings)


Download NowName your own price

Click download now to get access to the following files:

instance_flags.gmez 9 kB
instance_flags_demo.gmz 1 MB
instance_flags (for GMS2.3).zip 1 kB
instance_flags_demo (GMS2.3).yyz 1 MB

Development log


Log in with itch.io to leave a comment.


There is a typo in your first paragraph: “Soild”




Keep up the good work.