- Added comments for the function `getYmovement`