I want to call a (movement)function from my default pawn class as long as i pressing (with mouse) UI button, but it calls(successfully) only once and not continuing. Function could be re-called one more time if i press button again.
But i need it to be constantly called while i pressing this button.
button event:
the function itself:
Have no idea whats iām doing wrong