Detecting clicks on spatial links using Link Clicked
Jump to navigation
Jump to search
The system broadcast _link clicked) is sent when the user clicks on a spatial link line and the panel option to send spatial link clicks is enabled (suppressing the normal link information menu).
The broadcast includes the following attributes:which will set the corresponding item attributes if they exist for the class:
_x,_y : The screen co-ordinate clicked
_ratio : The ratio along the line where the user clicked, from near
0 (start of) approatching 1 (end of link)
_from : Object label identifier of the "from" portal for the link
_to : Object label identifier of the "to" portal for the link
_buttons : which button was clicked, 1 = left, 2 = right
idkbase note 99