Drag the apple around to a place you desire, and then press space to create a scratch cat that finds the best way there.
Thanks to @griffpatch for the amazing tutorial!