AW EVENT HUD CLICK

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 4.1
SDKbuild 64


AW_EVENT_HUD_CLICK

Description

User clicked a HUD element.

Notes

During this event, the SDK is given the session number of the user who clicked, the ID of the element that was clicked, as well as the position of the click within the element. X and Y give the offset (in pixels) of the click from the upper-left corner of the element. So, if the element is 128x128 and the user clicks in the center, then these values would be set to X=64 and Y=64.

Attributes

AW_HUD_ELEMENT_SESSION
AW_HUD_ELEMENT_ID
AW_HUD_ELEMENT_CLICK_X
AW_HUD_ELEMENT_CLICK_Y

Triggered by