GetPrimaryFocus


GetPrimaryFocus() returns the thing that the specified camera is looking at. It seems that LEC originally intended this verb to get the focus of the internal view, but later extended GetPrimaryFocus() to cover both cameras and did away with GetSecondaryFocus().

Make cam_int 1 to return the focus_object of the external camera or 0 to return the focus_object of the internal camera. Syntax:

focus_object=GetPrimaryFocus(cam_int);