A basketball player is attempting a layup while another basketball player is attempting to block the shot .