GetWidgetX

Parameters
whichWidgetwidget

target widget.

comment

Returns X map coordinate of widget on success. Returns 0.0 if widget was removed or is null.

note

See: GetWidgetY. See widget for an explanation how this applies to units, destructables, items.

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
real
Source code
native  GetWidgetX      takes widget whichWidget returns real