https://github.com/r-unic/input-capturer
A Roblox module to capture inputs and replay them later
https://github.com/r-unic/input-capturer
Last synced: over 1 year ago
JSON representation
A Roblox module to capture inputs and replay them later
- Host: GitHub
- URL: https://github.com/r-unic/input-capturer
- Owner: R-unic
- Created: 2025-04-05T05:16:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-05T05:16:41.000Z (over 1 year ago)
- Last Synced: 2025-04-05T05:22:32.474Z (over 1 year ago)
- Language: TypeScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @rbxts/input-capturer
A module to record and then playback user inputs
## Example
```ts
import InputCapturer from "@rbxts/input-capturer";
InputCapturer.start();
task.wait(5); // capture inputs for 5 seconds
InputCapturer.stop();
const inputBuffer = InputCapturer.getCaptured();
InputCapturer.replay(inputBuffer, print).await(); // playback inputs using `print`
```