Method: screenPosition

Returns the screen position of the viewport as an IgePoint3d where x is the "left" and y is the "top", useful for positioning HTML elements at the screen location of an IGE entity. The returned values indicate the center of the viewport on the screen.

This method assumes that the top-left of the main canvas element is at 0, 0. If not you can adjust the values yourself to allow for offset.
screenPosition ()
Returns IgePoint3d The screen position of the entity.

Get the screen position of the entity

var screenPos = entity.screenPosition();
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point