Skip to content

Derma

This page documents hooks in the derma category.


InteractionMenuClosed()View Source

Purpose

Runs when an interaction or action menu panel is removed when hook emission is enabled.

Category

Derma

Realm

Client

Example Usage

  hook.Add("InteractionMenuClosed", "liaExampleInteractionMenuClosed", function()
      print("[MyModule] handled InteractionMenuClosed")
  end)

InteractionMenuOpened(panel)View Source

Purpose

Runs after an interaction or action menu panel is created when hook emission is enabled.

Category

Derma

Realm

Client

Parameters

Panel panel The menu or tooltip panel that was opened.

Example Usage

  hook.Add("InteractionMenuOpened", "liaExampleInteractionMenuOpened", function(panel)
      if not IsValid(panel) then return end
      panel:SetTooltip("InteractionMenuOpened handled by MyModule")
  end)