I was trying to make an attacking animation, but I can’t find any keyboard events.
Does anyone know why?
Where are you searching for the key pressed event? You can listen to it in your player actor. Just press right click to add a new blueprint block and search for key [the key you want to use] or you can search only key take the first one and then, when you select it, you’ll see on the left, in the settings, a button with the icon of a keyboard: click it and press the butto you want to use.
Hope I was helpful and let me know if you find it
I tried it, but I still can not add it. No matter where i am in the player actor.
Hey @Dwergie3!
To be clear, when you right click on an empty space in your Event Graph, tick the Context Sensitive
option on the menu that pops up if it’s unticked, and search for “key q”, the top results aren’t the debug events and the keyboard events? Could you share a screenshot of your menu after doing as above?
Maybe you can try shearching for it directly in the options:
Input → Debug Events → Keyboard Events
If you can’t find it like this, you can try by adding an input to your “Input Mapping Context”:
-Create the input action:
I called it “INP_Test”
-Add the input to your “Input mapping context”:
-Then select a key for the input:
-Finally if you setted it correctly you’ll find the Input Event:
Hope this 2 ways will be helpful