AW HUD ELEMENT Y

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 4.1
SDKbuild 64


AW_HUD_ELEMENT_Y

Type

Integer

Description

Y offset (in pixels) of the upper-left corner of an element from the given anchor point.

Notes

It is very easy to "lose" elements off the edge of the screen. If you specify AW_HUD_ORIGIN_TOP_RIGHT for the origin, then by default only the first row of pixels will be visible. Everything else will be off the right edge of the screen. To adjust for this, you can use the X and Y to offset the element from the origin. If your element is 200 pixels wide, then set the X position to -200 to have it appear properly in the upper-right corner.

Used by