Set Row Playback Mode to Ping Pong ⌃P – Logic Pro keyboard command of the day

  Set Row Playback Mode to Ping Pong ⌃P

Play the pattern from left to right, then right to left.

Modify Step Sequencer pattern playback in Logic Pro – Apple Support

Ping-Pong: Playback alternates between left to right and right to left.