Work out logic for moving multiple points inside confinements