|This page contains an entry from the official DM Reference.|
|location:||the turf, stat panel, grid cell, etc. in which the object was clicked|
|control:||the name of the skin control involved|
|params:||other parameters including mouse/keyboard flags, icon offsets, etc.; see mouse control|
This is called when a mouse button is pressed 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.
In BYOND 3.5 this procedure took three different arguments: location, icon_x, and icon_y. Since icon_x and icon_y have been replaced, old code will need to be modified. Games compiled before this change will still work normally.
- Click proc (atom)
- DblClick proc (atom)
- MouseDown proc (client)
- MouseDrag proc (atom)
- MouseDrop proc (atom)
- MouseEntered proc (atom)
- MouseExited proc (atom)
- MouseUp proc (atom)
- mouse_drag_pointer var (atom)
- mouse_drop_pointer var (atom)
- mouse_opacity var (atom)
- mouse_over_pointer var (atom)
- show_popup_menus var (client)