1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Weapon Mods
  6. Orb
  7. Equipped
  8. Food/Medicine
  9. Furniture/Construction
  10. Color/Pattern
  11. Items
  12. Attributes
  13. Creatures
  14. Blocks
  15. Props
  16. API Types
  17. API Functions

LTH_draw

void LTH_draw(string fn)

This hook expects functions of the form:

void fn()

CLIENT This has no effect if performed on the server

Sets the hook for drawing on the screen in a layer below the HUD but above the environment. The hooked function will be called every frame to draw on the screen. This is useful for drawing things like minigames, gameplay related menus, annotating objects in the world, etc.