This workspace is provided for your convenience. You can use this activecode window to try out anything you like.
halfwaythat takes another
Pointas a parameter and returns the
Pointthat is halfway between the point and the target.
mid, has an x value of 4 and a y value of 8. We can also use any other methods since
halfwaysee how the requirement to always use dot notation with attributes disambiguates the meaning of the attributes
y: We can always see whether the coordinates of Point
targetare being referred to.