Answered by
4 years ago Edited 4 years ago
PlayerModule --> ControlModule --> Keyboard, line 120-129:
01 | ContextActionService:BindActionAtPriority( "moveForwardAction" , handleMoveForward, false , |
02 | self.CONTROL_ACTION_PRIORITY, Enum.PlayerActions.CharacterForward) |
03 | ContextActionService:BindActionAtPriority( "moveBackwardAction" , handleMoveBackward, false , |
04 | self.CONTROL_ACTION_PRIORITY, Enum.PlayerActions.CharacterBackward) |
05 | ContextActionService:BindActionAtPriority( "moveLeftAction" , handleMoveLeft, false , |
06 | self.CONTROL_ACTION_PRIORITY, Enum.PlayerActions.CharacterLeft) |
07 | ContextActionService:BindActionAtPriority( "moveRightAction" , handleMoveRight, false , |
08 | self.CONTROL_ACTION_PRIORITY, Enum.PlayerActions.CharacterRight) |
09 | ContextActionService:BindActionAtPriority( "jumpAction" , handleJumpAction, false , |
10 | self.CONTROL_ACTION_PRIORITY, Enum.PlayerActions.CharacterJump) |
You can adjust these to rebind some controls, for example on line 120, changing handleMoveForward to handleJumpAction, you'll jump when you press w. But I don't think it is currently possible to bind custom keys to these actions, if that's what you wanted.