Hello, Blender artists!

I’ve got a “plane”. It is not an object(KX_GameObject), but just a data set which contains:

- position
- rotation(euler angles)
- scale(local, always 0 at z axis)

I need to find out how far a point on this plane is from camera. That’s pretty simple - just *(camera.position - point).length*. However, my problem is finding that point. I need to find out if there is the plane at exact pixel coordinates and if there is, than I need to find out how far from camera is it. It’d be best to do in 2D filter.

Thanks