get_instance_id

function

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_Renderer.RenderInstanceIDs must be enabled.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.