Function: restoreMobjectState()
restoreMobjectState(
mob):boolean
Defined in: core/StateManager.ts:440
Restore a mobject from its JSON-serializable saved state (from saveMobjectState or serializeMobject).
This is the functional counterpart to mob.restoreState().
Unlike the class method which uses the deep-copy path,
this function uses the JSON-serializable MobjectState.
Parameters
mob
The mobject to restore
Returns
boolean
true if state was restored, false if no saved state exists