# libtmux.Entity

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/entity.lua#L388
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-entity/

A handle to one tmux object, bound to the snapshot generation it came from.
 Every handle kind can report its reference and refresh its snapshot record;
 the concrete classes below add what tmux allows for that kind.

## Members

### Other members

- [`reference`](/en/lua/v0.1.1/reference/libtmux-entity-reference/) (method)
- [`snapshot`](/en/lua/v0.1.1/reference/libtmux-entity-snapshot/) (method): Re-reads this object's record.
