click event not working properly - mouse offset ?

I do not understand what cursor positioning has to do with any of it. Are you trying to select / highlight elements that are in the centre of the screen? If so, using a cursor is not the way to do it. It will introduce lag and many other inconsistencies.


It’s a matter of a simple manual trace instead. Could you clarify? Especially the bit about the cursor / screen centre:

  • is the user expected to move the cursor separately from the camera?
  • or is the “cursor” merely a visual indicator of where the screen centre is and we pick items following camera’s forward vector? (like in many 1st person perspective games)