function ClickToMove.UpdateMovement(N,Z)if Z==Enum.UserInputState.Cancel then N.moveVector=ZERO_VECTOR3 elseif N.wasdEnabled then N.moveVector=Vector3.new(N.leftValue+N.rightValue,0,N.forwardValue+N.backwardValue)end end return ClickToMove
-- Overrides Keyboard:UpdateMovement(inputState) to conditionally consider self.wasdEnabled
function ClickToMove:UpdateMovement(inputState)
	if inputState == Enum.UserInputState.Cancel then
		self.moveVector = ZERO_VECTOR3
	elseif self.wasdEnabled then
		self.moveVector = Vector3.new(self.leftValue + self.rightValue, 0, self.forwardValue + self.backwardValue)
	end
end

return ClickToMove
