Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

Put html element above the selected object

$
0
0

Hello Babylon citizens!

I need to put html element just above the selected object.

Any ideas about how can I get distance in pixels between for example center of the selected object and left and top edges of the canvas.

Actually I have a plane in a scene, and I need to find distance of the left and top corner of this plane to the left and top corner of a canvas in pixels.

Is it possible? Did not find anything in the forum!

Thanks a lot!

 


Viewing all articles
Browse latest Browse all 388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>