One of the main objectives of the ANTARES telescope is the search for point-like neutrino sources. Both the pointing accuracy and the angular resolution of the detector are important in this context and a reliable way to evaluate this performance is needed. In order to measure the pointing accuracy of the detector, one possibility is to study the shadow of the Moon, i.e. the deficit of the atmospheric muon flux from the direction of the Moon induced by the absorption of cosmic rays. Analysing the data taken between 2007 and 2016, the Moon shadow is observed with statistical significance. The detector angular resolution for downward-going muons is The resulting pointing performance is consistent with the expectations. An independent check of the telescope pointing accuracy is realised with the data collected by a shower array detector onboard of a ship temporarily moving around the ANTARES location.