Custom UI - corner points for mobile

Tags: #<Tag:0x00007f8d476b5860> #<Tag:0x00007f8d476b5680>

Hi all, I’m having a bit of an issue trying to locate the corner points of my canvas on mobile.
I feel I should mention I’m using a high res display in main loop, and I’m using the view port size to determine the where the top left should be. I’ve had to offset this point a little to position it.

When I link out of my test site to this comp on a phone everything displays, when I then rotate my phone the point seems to change and my comp seems to change size, here’s a couple of phone screenshots to illustrate. Check M(a)t(a) in the top left. This is what I want corner pinned regardless of whether the phone is portrait or landscape.

I tried to use the node device orientation node and a few others but no luck. I’m wondering if this is something to do with permissions, web gl or something? In another thread I saw some of this functionality only works when you open in new window? Maybe this has something to do with it? I’m not sure.

help welcomed.