How to get which key was pressed in blueprint
Hi all, how I can get which key was pressed using blueprint?
I known that you can use override function in widgets OnKeyDown and compare if it equal to specific key, but how I can get exactly which input key was pressed and displayed in Print string ?
Thank you guys!
asked Dec 25 '15 at 03:22 AM in Blueprint Scripting
I am not sure what you are asking but here is an answer hope it helps: Inside of the player blueprint, and make a new blueprint (An input key), make it the key you want to be the key that the string notices. And attach the input blueprint to a print string and type in a message with whatever you want in it.
Hope this helps! Happy game development!
answered Dec 25 '15 at 04:14 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here