Total players online: 8



Take the Tour | Site Map

Name

clickScreenPos — Clicks on the screen given by world coordinates (with displacement).

Synopsis

call subs.txt clickScreenPos { worldx } { worldy } { xdisp } { ydisp }

Author

ScriptFellow

Parameters

Table 9. clickScreenPos parameters

NameDescription
worldxWorld x-coordinate.
worldyWorld y-coordinate.
xdispX-displacement (to be added to the screen coordinate).
ydispY-displacement (to be added to the screen coordinate).

Description

Clicks on the screen given by world coordinates (with displacement).

Initializes the variables %_cursorX and %_cursorY with the screen coordinates clicked.

Returns

%outsideScreen (#true or #false )

See Also

subs.clickScreenXYZ