Does BindAxis is the same to BindAction's IE_Axis KeyEvent?

I want to make the rebinding key by player self in our game.

but I do not want to use if else to know if use

BindAxis or BindAction

can I just use “BindAction’s IE_Axis KeyEven”

to instead of BindAxis

No. IE_Axis is a mostly deprecated concept that still exists just to support the DebugExecCommands feature that was how all UE3 bindings were done.

If you haven’t already looked at it, hopefully Input in Unreal Engine | Unreal Engine 5.1 Documentation will give you some useful information on the differences between Actions and Axes.

thanks very much