I made a project in Pleycanvas(https://playcanvas.com/editor/scene/995472) where I am trying to get an HTML element positioned at two edges of a video plane.
I mage an Image and tried to get its edge position using entities on the screen, but the console log always gives me the same position even when I rotate the camera(mouse movement) or move the player character(arrow keys).
Can someone look at the following script and explain what is it I am doing wrong?
script : ‘https://playcanvas.com/editor/code/721581?tabs=35779392’
scene Name: ‘Video Test’