Clear Simulated Input State
Clear Pressed Input
| Node | Description |
|---|---|
Flush Pressed Keys | Clear all pressed keys and reset input state |
Parameters:
- Player Index: Target player controller (0 = first player)
Cleanup After Testing or Playback
Send press and release events to the same player index. When a test, demonstration, or replay ends or is interrupted, call FlushPressedKeys to clear any remaining pressed keys on that player’s controller. In local multiplayer, check which player you are clearing.