HUD buttons

I am sorry if there already is a thread about this, but when i did forum search my browser just crashed.

I am looking for wich approach to take for making HUD buttons.
I i made an inventory icon that i want to use as a button on my HUD.
I Have never done this before so i wonder if there is a good way of doing this? :buckteeth:

Should i go and put DERMA button over or is there any way of doing it within the HUD code? Like a OnClick event or something…?

Yea just use derma

You shouldn’t use derma directly on the hud, I never used buttons in the hud, so I only can guess, create the button and parent it to the hud with ParentToHud() or so.