How do I set up an object to rotate by keyboard?

Hallo! I’m having trouble in blueprint in getting my “Gun” object to rotate by keyboard. I want to control it by pressing Num 4 and Num 6 to smooth rotation in both sides, but i dont know how to use it in my blueprint.

“title”

If the “gun” is a pawn you possess I would put it in the gun BP and have axis mappings for the NUM 6 and NUM 4 hooked up to set actor yaw.

Nebula Games Inc is right here, this is an awkward way to set it up. But if you must do it this way, this will work well enough:

Its works!! Thank you very much! Can you tell me, what is the name of the node after the speed?

It’s multiplication. You can also invoke it by searching for ‘*’

Thank you!

I worked for me too! thanks!