How to convert 3d position to 2d

hi everyone !
how to convert 3d position to 2d
For example, I get the position target position A1 [0.08573246002197266, 0.31756681203842163, 0.020433083176612854] and the Camera position [0.11057868599891663,0.18739812076091766, -0.01077520195394754]
how can i convert them on x, y plane to check A1 in center Camera

it’s called projection. I suggest you use search and read documentation on Camera class. Your questions will be answered that way.

thank for reply me ^^