Intermact API Reference / @intermact/core / interactive
Function: interactive()
interactive(
base,opts?):IMObject2D
Defined in: packages/core/src/interaction/draggable.ts:37
Attach pointer interaction to any object functionally (design.md §12.2). Unlike RegisteredObject2D.on, this returns a new definition, so it composes inside reactive derived(...) builders that rebuild the object each frame.
Parameters
base
opts?
InteractiveOptions = {}