Screen(‘IsOffscreen’)

Psychtoolbox>Screen.{mex*} subfunction

Find out whether window is offscreen. Responses: 1=yes; 0=no

###See also: WindowKind