Return furthest GameObject
instance_furthest(position, obj, countMe)
Vector2
Type
bool
Returns: GameObject
GameObject
This function will find furthest object from given position
GameObject furthestObj = instance_furthest(Position, typeof(oObjectToFind), false);
This code will find furthest object named oObjectToFind and save it to local variable GameObject furthestObj.
oObjectToFind
Back to Instances
There was an error while loading. Please reload this page.