Props Displaying Text

Those of you who have played the gamemode Flood will know that when you move the mouse over a prop it displays text showing the amount of health that prop has. I was wondering how this is done. I looked at the code for flood and was unable to find it.
thank you in advance

They are most likely using **[Player.GetEyeTrace](** to see if a player is looking at an entity. As a result of that, text is probably drawn using **[Draw.SimpleText](**.

ok thanks. also on flood mod the custom spawn menu has things that split the prop menu into sections like wood, metal, plastic. and when you click the one that says wooden all the wooden props get hidden but if you click it again the wooden props show