How to get TouchEvent.Scale?

How to get TouchEvent.Scale? Can see it in the docs here for Mozilla but when I try to use it I get Property 'scale' does not exist on type 'TouchEvent'
TouchEvent - Web APIs | MDN.

Original Post on Discord

by user 103054507105067008

I mean, MDN pretty clearly states that this is non-standard, has a red underline and all, have you checked that the browser(s) you’re trying to use it with support it?
image.png

Ah might just skip trying to use it :+1:

by user 103054507105067008

Haha what was your reason for trying to?

Doing touch controls for AR, I wanted to try out their TouchEvent.scale and TouchEvent.rotate first to see if they returned useful values

by user 103054507105067008

I’ve nearly cracked it all myself, will share a sample when I am done

by user 103054507105067008