holding left mouse button

I used this method to make my rifle fire auto by holding left mouse button and it worked. is there any other easier way to do this? (sorry for my english?)

1 Like

Yes, use enhanced input, it has this pin

Just add this in IA_shoot

Voila

image

ongoing

Does this help?
Because while your holding the gun, the pressed button will continue to fire, as long as you have your left mouse button pressed it should continue to check over and over again and adjust this based off of needs. very crude system.

Thanks, I got you :slightly_smiling_face:
I think you mean the IA_shoot asset in the content browser. What is a Data Asset (input action)? How can I use it

Sorry, I forgot I made it, thought it was a default one :slight_smile:

Yes, right, and then add that to IMC_Default

Thank you very much. I appreciate it. Im new in unreal and have a bunch of questions

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.