How to access the event click on Trigger and Anchor

onSceneReadyToDisplay is a function, not an assignable property. Please call it passing a callback argument as in the Trigger Extensions via Javascript - #2 by jan example. Also, make sure that the given position is within your scene.