Skip to content
An extension for GMS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

instance_nearest_ext for GMS

Instance_nearest_ext is an extension for Game Maker 8. This is a port of that legacy extension to Game Maker Studio 1 & 2.

The extension allows you to do several things:

  • Find the Nth nearest instance
  • Find the Nth furthest instance
  • Find Nth nearest instance with variable X = 0, where "X" can be any variable, "0" can be any number and "=" can be any operator.

The original extension that I based this off was written by Kyle_Solo and can be found here:

You can’t perform that action at this time.