removeChild
function removeChild(parent, child): Effect<void, never, Runner>;
Function: removeChild()
function removeChild(parent, child): Effect<void, never, Runner>;Defined in: packages/motion/src/Scene.ts:771
Detach child from parent (no-op unless it is currently its child).
Parameters
| Parameter | Type |
|---|---|
parent | GroupInstance |
child | Instance |
Returns
Effect<void, never, Runner>