Quantize Tool Q
Set pointer to the Quantize Tool. Simple access is to type T to bring up the Tool Menu, then Q.
Quantize each note that you click on using the Quantize Tool.
Only available in the tool menus of the Piano Roll and the Score Editor.
Quantize timing in the Piano Roll Editor in Logic Pro — Apple Support
In Logic Pro, click a note, or a selected group of notes, with the Quantize tool.
The notes are quantized to the active Quantize value.