Similization
Member
I have an idea to make flashing label. When the player will be near some object (for example rock) there will appear flashing label (press "H" to hide or sth like this). I know how to do it if the label will be an object. But i don't want to make one more object for such thing. I wanted to make it in the events of the rock when it collides with the player. And i just wrote this:
But nothing works. Does draw functions work only in draw events and i need to make one more object for this label or is there an easier way to achieve the goal?
GML:
draw_text(x, y, "press "H" to hide")
// x, y - rock coordinates