function ClickToMove.UpdateMovement(I,Q)if Q==Enum.UserInputState.Cancel then I.moveVector=ZERO_VECTOR3 elseif I.wasdEnabled then I.moveVector=Vector3.new(I.leftValue+I.rightValue,0,I.forwardValue+I.backwardValue)end end return ClickToMove

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
