BBMOD_BaseRenderer.get_instance_id

A function defined in BBMOD_BaseRenderer.gml

get_instance_id(_screenX, _screenY)

Description

Retrieves an ID of an instance at given position on the screen.

Arguments

Name Type Description
_screenX Real The X position on the screen.
_screenY Real The Y position on the screen.

Returns

Id.Instance The ID of the instance or 0 if no instance was found at the given position.

Note

BBMOD_BaseRenderer.RenderInstanceIDs must be enabled.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.