Screen(‘WindowScreenNumber’)

Psychtoolbox>Screen.{mex*} subfunction

Get screenNumber, the number of the screen on which the window appears. If the
window is an offscreen window then this value is -1.

###See also: