The number of the port that generated the last event.
<xid>
This property allows a script to determine whether an event was generated by a button press (port number is 0) or an incoming TTL signal from one of the ports of a Response Pad (port number 1 or 2).
The following displays the value of lasteventport in a text stimulus:
<text sometext>
/ items= ("height = <% xid.lasteventport %>")
</text>