Keydown in update

can you put a keydown script in update

You should be able to use isKeyDown("a") in update. “a” can be whatever key it is you want.
Example

if (isKeyDown("e") {
    this.rotation += 4;
}
1 Like

wait
it doesnt work

Oops forgot a )

if (isKeyDown("e")) {
    this.rotation += 4;
}

or something like this
demo2-28-2022_16-10-17.wick (1.5 KB)

2 Likes