withX

Creates a new position with the given x component.

Return

the new position

Parameters

x

the new X component