Input Rebinding

Hi

So I am trying to implement a rebinding system on my game and so far I could only do that with my Jump action. I have the line of code on the picture below. I can’t seem to do the same with Movement which I set it as a Composite Type: Vector 2D.

Can anyone help me figure out a solution to this?

Note: Please pretend that any line between “FindObjectOfType().playerInputActions.Player.Enable();” and “.Start();” doesn’t exist.


Screenshot_22