Core API
play()
Resumes a globally paused cursor action sequence in real-time.
play()
Awakens the cursor runtime loop and plugins if they were previously halted by pause() or stop().
Use Cases
- Playback Controls: Letting the user resume tutorials and simulations at their own viewing pace.
- Background Restorations: Starting animations back up gracefully after a foreground focus block is resolved.
Example
const cursor = new Cursor();
document.querySelector('.play-btn').addEventListener('click', () => {
cursor.play(); // Continues the real-time simulation
});