The game entity uses a memory system to remember the last sensed position of the target. If the target is outside the game entity's visual range for a certain amout of time, the game entity forgets the target.