0

I want to press left, right, up, or down based on the swipe direction. Is there any way I can tell my code to press the left arrow key based on an if statement?

Henji
  • 33
  • 5
  • Does this answer your question? [Is it possible to simulate key press events programmatically?](https://stackoverflow.com/questions/596481/is-it-possible-to-simulate-key-press-events-programmatically) – evolutionxbox Jul 20 '21 at 20:55

0 Answers0