Author Topic: How to delay action after pressed the key  (Read 2348 times)

kent79

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
How to delay action after pressed the key
« on: October 13, 2021, 07:58:21 PM »
Hi

I have some coding question. As below coding, when I triggle "right" button and then running "cardStationViewer()" function immediately. My question is how to delay number of seconds to run function when I pressed the key. Thanks.

Code: [Select]
case "right":
cardStationViewer()
return true;