I am working on a viewshed viewer application that uses ArcGIS' Viewshed Analysis example as a base. I have a calculator widget that takes coordinates and zooms to the specified location on the map when a submit button is pressed. The viewshed should then be calculated at that location. The SceneView has an event listener:
view.on("click", computeViewshed);
How do I simulate an "artificial" click using ArcGIS' API?