GetWidgetX

Parameters
whichWidget widget

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
return type
real
Source code
native  GetWidgetX      takes widget whichWidget returns real