withY

Creates a new position with the given y component.

Return

the new position

Parameters

y

the new Y component