Format
MouseUp(location,control,params)
Args
location
: the turf, stat panel, grid cell, etc. in which the object was clickedcontrol
: the name of the skin control involvedparams
: other parameters including mouse/keyboard flags, icon offsets, etc.; see mouse handling
This is called when a mouse button is released while pointing to this object.
Don’t define this unless you need it, because it generates extra communication that is otherwise avoided. Most operations can be done through Click()
, DblClick()
, and MouseDrop()
. The other procedures are simply available for completeness.
Note
In BYOND 3.5 this procedure took three different arguments:
location
,icon_x
, andicon_y
. Sinceicon_x
andicon_y
have been replaced, old code will need to be modified. Games compiled before this change will still work normally.
See also
- DblClick proc (atom)
- MouseDown proc (atom)
- MouseDrag proc (atom)
- MouseDrop proc (atom)
- MouseEntered proc (atom)
- MouseExited proc (atom)
- MouseMove proc (atom)
- MouseUp proc (client)
- MouseWheel proc (atom)
- mouse_drag_pointer var (atom)
- mouse_drop_pointer var (atom)
- mouse_drop_zone var (atom)
- mouse_opacity var (atom)
- mouse_over_pointer var (atom)
- show_popup_menus var (client)