Documentation / @agentick/core / useCom
Function: useCom() ​
useCom():
ContextObjectModel
Defined in: core/src/hooks/context.ts:32
Get the COM (Context Object Model) for the current render.
Returns ​
ContextObjectModel
Example ​
tsx
const MyComponent = () => {
const ctx = useCom();
const history = ctx.timeline;
// ...
};