L
LuckyOwl
Guest
Due to how easy it may be to misunderstand the question, let me elaborate.
for example, I want my cursor to draw the name of the object it is colliding with, one way I know how to do this, is to simply preform a simple collision check, as follows
if (place_meeting(x,y,exampleobject))
{
Draw_text(x,y,string(exampleobject.displayname);
}
Doing this is easy, yet time consuming, especially when the project may require more than 10 items, is there any way to get the object that is being collided with and maybe set it as a variable?
for example, I want my cursor to draw the name of the object it is colliding with, one way I know how to do this, is to simply preform a simple collision check, as follows
if (place_meeting(x,y,exampleobject))
{
Draw_text(x,y,string(exampleobject.displayname);
}
Doing this is easy, yet time consuming, especially when the project may require more than 10 items, is there any way to get the object that is being collided with and maybe set it as a variable?