Detecting clicks on spatial links using Link Clicked: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
m (1 revision(s))
No edit summary
Line 11: Line 11:
[[Category:Interaction (User)]]
[[Category:Interaction (User)]]
[[Category:Broadcast/System]]
[[Category:Broadcast/System]]
[[Category:Release Note]]
<font size="2">idkbase note 99</font>
<font size="2">idkbase note 99</font>

Revision as of 16:47, 10 January 2008

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