Copy link to clipboard
Copied
Hi, I'm using Animate 2020 and don't see any documentation on using keystroke event listeners within actions to accept user input at runtime, can anyone help?
For example, I would like the user to be able to jump forward in the timeline to specific labeled frames by pressing the right arrow.
document.onkeydown = f.bind(this);
function f(e){
console.log(e.key);
}
Copy link to clipboard
Copied
document.onkeydown = f.bind(this);
function f(e){
console.log(e.key);
}
Copy link to clipboard
Copied
Perfect, thanks
Copy link to clipboard
Copied
you're welcome.