GetWidgetX
- Parameters
whichWidget widgettarget widget.
- comment
Returns X map coordinate of widget on success. Returns 0.0 if widget was removed or is null.
- note
See:
GetWidgetY. Seewidgetfor an explanation how this applies to units, destructables, items.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
real- Source code
native GetWidgetX takes widget whichWidget returns real