A function defined in BBMOD_BaseRenderer.gml
get_instance_id(_screenX, _screenY)
Retrieves an ID of an instance at given position on the screen.
Name | Type | Description |
---|---|---|
_screenX | Real |
The X position on the screen. |
_screenY | Real |
The Y position on the screen. |
Id.Instance
The ID of the instance or 0 if no instance was found at the given position.
BBMOD_BaseRenderer.RenderInstanceIDs must be enabled.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.