Yogstation 13 - Modules - TypesVar Details - Proc Details

/atom/movable/screen/fullscreen/cursor_catcher

An effect which tracks the cursor's location on the screen

Vars

given_turfThe turf we send to the scope component.
given_xPixel x we send to the scope component.
given_yPixel y we send to the scope component.
mouse_paramsMouse parameters, for calculation.
ownerThe mob whose cursor we are tracking.
view_listClient view size of the scoping mob.

Procs

assign_to_mobLinks this up with a mob
on_moveUpdate when the mob we're assigned to has moved
on_viewdata_updateUpdate when our screen size changes

Var Details

given_turf

The turf we send to the scope component.

given_x

Pixel x we send to the scope component.

given_y

Pixel y we send to the scope component.

mouse_params

Mouse parameters, for calculation.

owner

The mob whose cursor we are tracking.

view_list

Client view size of the scoping mob.

Proc Details

assign_to_mob

Links this up with a mob

on_move

Update when the mob we're assigned to has moved

on_viewdata_update

Update when our screen size changes