See participant screen size?

Is there any way in either builder or code to see the screen size of a participant as they’re going through the experiment? I want to be able to calculate some position based on screen size.