I've just started with GameMaker and made a little game. I've made my HUD and i want that a little information comes up when you hold the mouse over an icon.
My problem is that it doesnt work when i place the text object in the HUD, only if i place it on the map. Is there anyone who could explain what im doing wrong?
Code:
Create: text="" Mouse Enter: text="Attack Damage" Mouse Leave: text="" Draw: draw_sprite(invisible_wall_sprite,0,x,y) draw_set_color(c_white) draw_text(mouse_x-30,mouse_y-60,text)
Pictures:


Thanks in advance











