snap midi note to the following note

Is there a way to snap a midi note to the following note ?

I remember Logic had it when I used that.

Refer to the screenshot

Just found it myself but I will let the post stay if others are searching this subject.

Its called : legato

and can be found in the key-commands as well as in the inspector.