Download

How to perform the mouse event in c++ code?

a56bdfef4d9e1a32ce810e1f837a4e690b5c1e15.jpeg

how to performance the mouse event left mouse button in c++ code?

In your class you must setup input using the InputComponent->BindAction(…) function to fire input events in it.

check SetupPlayerInputComponent(class UInputComponent* InputComponent)

MouseEvent is not like normal BindAction, it is a default action,should you tell me more spefic?