Simple question about MSD Analyzer and Compute MSD calculation

Hello! I am a PhD student at the University of Rhode Island, and I am trying to use the MSDanalyzer code for particle tracking purposes found here:
I just have a quick question (and my apologies if this is a very simple question, my MATLAB skills are not the best): For the computeMSD code, is that computing MSD in just one direction (x direction for example) or is it computing MSD using both x and y displacements? Our group is looking to obtain MSD plots in the x direction, y direction, and total MSD (taking into account both directions). Thank you for the help in advance!