Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

KeyDowns and MouseClick1Downs help?

Asked by 5 years ago

What are the differences between KeyUp and KeyDown?

And what is the difference between Mouse1Click and And Mouse1ClickHold Vise versa?

2 answers

Log in to vote
1
Answered by 5 years ago

KeyUp and KeyDown (as you probably know) have to do with keyboard keys. The difference between them is that if I were to press k down then that triggers the KeyDown Event and then when I unclick the key (when i bring my finger back up) It will trigger the event: KeyUp

To answer your Mouse1Click question. There are no events called Mouse1Click or Mouse1ClickHold , I think you mean Button1Down, and there isn't any event for holding that down.

Ad
Log in to vote
1
Answered by
Paldi 109
5 years ago

KeyDown: lets say you want the keyboard button " B" to make something, when you will press it, it will do the action KeyUp: its when you release the button

Mouse1Click: when you click with the left mouse button Mouse1Hold: i never used it but its probably if you hold the left mouse button..

0
Okay, Thanks attackonkyojin 135 — 5y

Answer this question