VR mode how to get pixel color on mouse click?

Hallo, how could we get the pixel color when in VR mode? for example for color tracking in VR mode. I am confused

the simple 2d code

    color cc=get(mouseX,mouseY);
    println(red(cc),green(cc),blue(cc));

does not return the corresponding pixel clicked on one of the 2 images.

the code used is below, but i get offsetting. For example i must go up and right to select the color that appears on the center. What am i doing wrong?

import ketai.camera.*;
KetaiCamera cam;
int refresh = 0;
import processing.vr.*;
void setup() {
  fullScreen(VR);
  //cameraUp();
  cam=new KetaiCamera(this, 640, 480, 24); //60
  cam.start();
  //img = createImage(640,480,RGB);
  imageMode(CENTER);
}

float xx, yy;
PMatrix3D objMat = new PMatrix3D();
PImage img;
void draw() {
  background(0);  
  //pushMatrix();
  translate(width/2, height/2);
  if (refresh == 1) {
    cam.read();
    image(cam, 0,0);
  }
  //popMatrix();
  drawAim();
  //drawEye();
}

void onCameraPreviewEvent()
{
  cam.read();
  refresh = 1;
}




void drawAim() {
  eye();
  //  if (refresh == 1) {
  //  cam.read();
  //  image(cam, 0, 0,width,height);
  //}
  xx=screenX(0, 0, 0);
  yy=screenY(0, 0, 0);
  //stroke(get(int(xx), int(yy)));
  stroke(get(int(xx), int(yy)));

  strokeWeight(20);
  point(0, 0, 100);
}