Point to off screen object.

I have a model that is the currently tracked entity on the map, what I'm trying to do is have an arrow around the edge of the screen that points at the direction of another model that is out of the camera view. Is there any built in functionality to accomplish this?

Best Regards,
Chris

Hello Chris,

You can use SceneTransforms.wgs84ToWindowCoordinates to get a coordinate for the model. I’m pretty sure this will return a coordinate even if the model is on the screen. Then you can add position a HTML element at the edge of the screen pointing to that off-screen location.

Best,

Hannah

Ok great, I will give this a go. Thanks Hannah!