FANDOM


BYOND Environment This page contains an entry from the official DM Reference.

FormatEdit

DblClick(location,control,params)


WhenEdit

Called when the object is double-clicked.


ArgsEdit

location: the turf, stat panel, grid cell, etc. in which the object was double-clicked
control: the name of the skin control involved
params: other parameters including mouse/keyboard flags, icon offsets, etc.; see mouse control

DescriptionEdit

This proc is called by the default client.DblClick() procedure.

This example allows the player to teleport to a position by double clicking it.

Example:

turf/DblClick()
  usr.Move(src)

See alsoEdit