[Solved] Help with OnKeyDown or OnKeyPress.

I need help with a prototype. Within this prototype I only have 2 buttons. We want to explore a way if we can do everything we need with just these keys.

So in order to do so. When you press one button, lets say. Keyboard ‘a’ it should do one thing. For example Move a certain element down by 10px. But if you hold ‘a’ it should fill the background of this element instead of moving it down by 10px. However, if you release it and press it again. it should move down again and only fill the background if you hold it.