Skip to content

Unhook(integer)

The Unhook Lua function removes a hook.

Hooks are an automatically triggered function that activates when a grandMA3 object changes. A hook can be created using the HookObjectChange function.

  • Integer:
    This must be the integer matching the hook that should be unhooked.
Hint:
All hooks can be listed using the DumpAllHooks function, but this does not reveal the corresponding hook integer ID. Use the UnhookMultiple function if the integer is unknown.