In the Logic Pro Piano Roll Editor, do one of the following:
Select one or more notes, then drag the Velocity slider in the Piano Roll Editor header left or right.
Drag over a note vertically with the Velocity Apple Books | Apple Books | PDF