(A) Participants performed a novel PI task (the Apple Game) in a virtual environment. The task comprised three subtasks that differed with regard to the presence or absence of supportive spatial cues: the PPI subtask without any supportive cue, the BPI subtask with a circular boundary, and the LPI subtask with an intramaze landmark (lighthouse) close to the center of the environment. (B) In each trial, participants collected a basket (start phase) and tried to remember its location (goal location). After navigating toward a variable number of trees (1 to 5; outgoing phase), which disappeared after having been reached, participants had to find their way back to the goal location (incoming phase). Last, they received feedback via different numbers of stars, depending on response accuracy. (C) Outgoing distance refers to the cumulated distance during the outgoing phase, and incoming distance refers to the Euclidean distance between retrieval location (tree with apple) and goal location (basket). (D) PI performance was assessed as the distance between the correct goal location and the response location (drop error). The drop error can be separated into the distance error (i.e., the difference between the retrieval-to-goal distance and the retrieval-to-response distance) and the rotation error (i.e., the difference between the retrieval-to-goal rotation and the retrieval-to-response rotation). (E) The behavioral task comprised 8 practice trials followed by 16 trials in each subtask (short version; in the long version, all subtasks were performed twice, resulting in 32 trials in each subtask). (F) The fMRI task consisted of up to nine practice trials during the structural scan, followed by two functional runs with six blocks of four trials each. See also fig. S1 and movie S1.